head 1.1; access; symbols OPENPKG_E1_MP_HEAD:1.1 OPENPKG_E1_MP:1.1 OPENPKG_E1_MP_2_STABLE:1.1 OPENPKG_E1_FP:1.1 OPENPKG_2_STABLE_MP:1.1 OPENPKG_2_STABLE_20061018:1.1 OPENPKG_2_STABLE_20060622:1.1 OPENPKG_2_STABLE:1.1.0.8 OPENPKG_2_STABLE_BP:1.1 OPENPKG_2_5_RELEASE:1.1 OPENPKG_2_5_SOLID:1.1.0.6 OPENPKG_2_5_SOLID_BP:1.1 OPENPKG_2_4_RELEASE:1.1 OPENPKG_2_4_SOLID:1.1.0.4 OPENPKG_2_4_SOLID_BP:1.1 OPENPKG_CW_FP:1.1 OPENPKG_2_3_RELEASE:1.1 OPENPKG_2_3_SOLID:1.1.0.2 OPENPKG_2_3_SOLID_BP:1.1; locks; strict; comment @# @; 1.1 date 2004.12.28.14.18.06; author rse; state Exp; branches; next ; desc @@ 1.1 log @apply patch from FreeBSD ports @ text @Index: src/logsurfer.c --- src/logsurfer.c.orig 2002-08-29 13:36:12 +0200 +++ src/logsurfer.c 2004-12-28 15:16:01 +0100 @@@@ -388,6 +388,7 @@@@ (void) fprintf(stderr, "unable to allocate memory for logline_buffer\n"); exit(99); } + logline_buffer[0]='\0'; while ( (opt = getopt(argc, argv, "fc:d:l:p:r:s")) != EOF ) switch(opt) { @