diff options
author | John Kohl <jtkohl@mit.edu> | 1988-07-20 06:28:39 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-07-20 06:28:39 +0000 |
commit | a62520c4dc7c10524859597d3c42849dfb207fa2 (patch) | |
tree | dbda9a5bbb5e16a9a51755ba8938bac7c0203656 /clients/zwrite | |
parent | 3f78c39fd06893ddc3fe8731d50416095ebe8470 (diff) |
fix problem with looping when authorization fails.
Diffstat (limited to 'clients/zwrite')
-rw-r--r-- | clients/zwrite/zwrite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/zwrite/zwrite.c b/clients/zwrite/zwrite.c index 650f867..151aba8 100644 --- a/clients/zwrite/zwrite.c +++ b/clients/zwrite/zwrite.c @@ -277,10 +277,10 @@ send_off(notice, real) continue; } if (retnotice.z_kind == SERVNAK) { - printf("Received authentication failure while sending to %s\n", + printf("Received authorization failure while sending to %s\n", nrecips?notice->z_recipient:inst); ZFreeNotice(&retnotice); - continue; + break; /* if auth fails, punt */ } if (retnotice.z_kind != SERVACK || !retnotice.z_message_len) { printf("Detected server failure while receiving acknowledgement for %s\n", |