char buf[12];
int ret;
TALLOC_CTX *frame = talloc_stackframe();
- int fds[1] = { 0 };
smb_init_locale();
for (i=0;i<n;i++) {
messaging_send(msg_ctx, pid_to_procid(pid), MSG_PING,
&data_blob_null);
- messaging_send_iov(msg_ctx, pid_to_procid(pid),
- MSG_PING, NULL, 0, fds, 1);
}
while (pong_count < i) {
msg_ctx, pid_to_procid(pid),
MSG_PING, &data_blob_null)))
ping_count++;
- if(NT_STATUS_IS_OK(messaging_send_iov(
- msg_ctx, pid_to_procid(pid),
- MSG_PING, NULL, 0, fds, 1)))
- ping_count++;
while (ping_count > pong_count + 20) {
ret = tevent_loop_once(evt_ctx);