X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=chat%2Fchat.c;h=a69d66a47795b5c380cfa2ae89e368074a5498ee;hp=02fa4499439911ff3d39809f966c01a0f5de15fb;hb=da44517ffef30eb2c170bb97cd6435f6d4e61a0e;hpb=eaca954c2d4a4336c955f4a973ae85dd68d99862 diff --git a/chat/chat.c b/chat/chat.c index 02fa449..a69d66a 100644 --- a/chat/chat.c +++ b/chat/chat.c @@ -87,7 +87,7 @@ #endif #ifndef lint -static const char rcsid[] = "$Id: chat.c,v 1.25 1999/09/06 05:10:23 paulus Exp $"; +static const char rcsid[] = "$Id: chat.c,v 1.27 2002/01/11 18:05:44 etbe Exp $"; #endif #include @@ -203,7 +203,7 @@ int n_aborts = 0, abort_next = 0, timeout_next = 0, echo_next = 0; int clear_abort_next = 0; char *report_string[MAX_REPORTS] ; -char report_buffer[50] ; +char report_buffer[256] ; int n_reports = 0, report_next = 0, report_gathering = 0 ; int clear_report_next = 0; @@ -1467,7 +1467,8 @@ register char *string; if (s >= end) { if (logged < s - minlen) { - logf("%0.*v", s - logged, logged); + if (verbose) + logf("%0.*v", s - logged, logged); logged = s; } s -= minlen;