diff options
Diffstat (limited to 'clients/zwrite')
-rw-r--r-- | clients/zwrite/zwrite.c | 4 |
1 files changed, 1 insertions, 3 deletions
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;i<nrecips || !nrecips;i++) { + for (i=0;i<nrecips || i==0;i++) { if (realm) { sprintf(realm_recip, "%s@%s", (nrecips) ? recips[i] : "", realm); notice->z_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); |