1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r21116: Fix the build -- sorry!

(This used to be commit f4b073d8c8)
This commit is contained in:
Volker Lendecke 2007-02-01 22:06:59 +00:00 committed by Gerald (Jerry) Carter
parent 69d8c5ae5f
commit 29569b9146

View File

@ -101,10 +101,14 @@ static void pong_message(int msg_type, struct process_id src,
printf("Sending pings for %d seconds\n", (int)timelimit);
while (timeval_elapsed(&tv) < timelimit) {
if(message_send_pid(pid_to_procid(pid), MSG_PING,
buf, 11, False)) ping_count++;
if(message_send_pid(pid_to_procid(pid), MSG_PING,
NULL, 0, False)) ping_count++;
if(NT_STATUS_IS_OK(message_send_pid(pid_to_procid(pid),
MSG_PING,
buf, 11, False)))
ping_count++;
if(NT_STATUS_IS_OK(message_send_pid(pid_to_procid(pid),
MSG_PING,
NULL, 0, False)))
ping_count++;
while (ping_count > pong_count + 20) {
message_dispatch();