X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=chat%2Fchat.c;h=336c0f4995f4ab3dadd1612673d251ec0d3507d5;hp=fa67fd24213e2e80d4611c438b52526831f36d11;hb=HEAD;hpb=1fe5196b10fc30b1dfb8b4b0ac5bf2b6fa49c297 diff --git a/chat/chat.c b/chat/chat.c index fa67fd2..336c0f4 100644 --- a/chat/chat.c +++ b/chat/chat.c @@ -609,7 +609,7 @@ void terminate(int status) int c, rep_len; rep_len = strlen(report_buffer); - while (rep_len + 1 <= sizeof(report_buffer)) { + while (rep_len + 1 < sizeof(report_buffer)) { alarm(1); c = get_char(); alarm(0);