From 9d1a57b5f2298913bc38069ddcd7b1666aad0b30 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 22 May 2002 11:13:51 +0000 Subject: Fix send_off() loop so that it only runs once when there are no targets, even if the loop body does a "continue". --- clients/zwrite/zwrite.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clients') diff --git a/clients/zwrite/zwrite.c b/clients/zwrite/zwrite.c index 5edc779..f5dba36 100644 --- a/clients/zwrite/zwrite.c +++ b/clients/zwrite/zwrite.c @@ -348,7 +348,7 @@ send_off(notice, real) success = 0; - for (i=0;iz_recipient = realm_recip; @@ -439,8 +439,6 @@ send_off(notice, real) else printf("Internal failure - illegal message field in server response\n"); ZFreeNotice(&retnotice); - if (!nrecips) - break; } if (!success) exit(1); -- cgit v1.2.3