changeset 317:063cf9e8efea ucc-axis-hack

dropbear_log to stderr since it works now
author Matt Johnston <matt@ucc.asn.au>
date Sat, 01 Apr 2006 12:09:46 +0000
parents dc6173e09ff7
children
files dbutil.c svr-session.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dbutil.c	Tue Mar 28 16:04:11 2006 +0000
+++ b/dbutil.c	Sat Apr 01 12:09:46 2006 +0000
@@ -121,7 +121,7 @@
 
 	vsnprintf(printbuf, sizeof(printbuf), format, param);
 
-	printf( "%s\n", printbuf);
+	fprintf( stderr, "%s\n", printbuf);
 
 }
 
--- a/svr-session.c	Tue Mar 28 16:04:11 2006 +0000
+++ b/svr-session.c	Sat Apr 01 12:09:46 2006 +0000
@@ -188,7 +188,7 @@
 			datestr[0] = '?'; datestr[1] = '\0';
 		}
 #endif
-		printf( "[%d] %d %s\n", getpid(), timesec, printbuf);
+		fprintf( stderr, "[%d] %d %s\n", getpid(), timesec, printbuf);
 	}
 }