Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pkg_install/lib init buffer differently



details:   https://anonhg.NetBSD.org/src/rev/7712635d6672
branches:  trunk
changeset: 481702:7712635d6672
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Fri Feb 04 03:45:48 2000 +0000

description:
init buffer differently

diffstat:

 usr.sbin/pkg_install/lib/ftpio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r f4f2de9ff7e5 -r 7712635d6672 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c  Fri Feb 04 03:40:42 2000 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c  Fri Feb 04 03:45:48 2000 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: ftpio.c,v 1.15 2000/02/02 14:54:50 hubertf Exp $       */
+/*     $NetBSD: ftpio.c,v 1.16 2000/02/04 03:45:48 hubertf Exp $       */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.15 2000/02/02 14:54:50 hubertf Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.16 2000/02/04 03:45:48 hubertf Exp $");
 #endif
 
 /*
@@ -119,7 +119,7 @@
 
     if(0) setbuf(stdout, NULL);
 
-    memset(buf, '#', sizeof(buf));
+    memset(buf, '\n', sizeof(buf));
 
     timeout.tv_sec=5*60;
     timeout.tv_usec=0;



Home | Main Index | Thread Index | Old Index