From: guy Date: Sat, 19 Aug 2006 06:47:39 +0000 (+0000) Subject: Fix indentation. X-Git-Tag: tcpdump-4.0.0~206 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/7daf6157e2c1678a53243f163cb60ee465000953 Fix indentation. --- diff --git a/util.c b/util.c index 5746b094..963a2dc0 100644 --- a/util.c +++ b/util.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/util.c,v 1.107 2006-02-08 16:18:56 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/util.c,v 1.108 2006-08-19 06:47:39 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -528,7 +528,8 @@ read_infile(char *fname) void safeputs(const char *s, int maxlen) { - int idx = 0; + int idx = 0; + while (*s && idx < maxlen) { safeputchar(*s); idx++;