Mercurial > dropbear
comparison svr-session.c @ 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 |
comparison
equal
deleted
inserted
replaced
316:dc6173e09ff7 | 317:063cf9e8efea |
---|---|
186 if (strftime(datestr, sizeof(datestr), "%b %d %H:%M:%S", | 186 if (strftime(datestr, sizeof(datestr), "%b %d %H:%M:%S", |
187 localtime(×ec)) == 0) { | 187 localtime(×ec)) == 0) { |
188 datestr[0] = '?'; datestr[1] = '\0'; | 188 datestr[0] = '?'; datestr[1] = '\0'; |
189 } | 189 } |
190 #endif | 190 #endif |
191 printf( "[%d] %d %s\n", getpid(), timesec, printbuf); | 191 fprintf( stderr, "[%d] %d %s\n", getpid(), timesec, printbuf); |
192 } | 192 } |
193 } | 193 } |
194 | 194 |
195 /* called when the remote side closes the connection */ | 195 /* called when the remote side closes the connection */ |
196 static void svr_remoteclosed() { | 196 static void svr_remoteclosed() { |