comparison dbutil.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 973fccb59ea4
children
comparison
equal deleted inserted replaced
316:dc6173e09ff7 317:063cf9e8efea
119 119
120 char printbuf[1024]; 120 char printbuf[1024];
121 121
122 vsnprintf(printbuf, sizeof(printbuf), format, param); 122 vsnprintf(printbuf, sizeof(printbuf), format, param);
123 123
124 printf( "%s\n", printbuf); 124 fprintf( stderr, "%s\n", printbuf);
125 125
126 } 126 }
127 127
128 /* this is what can be called to write arbitrary log messages */ 128 /* this is what can be called to write arbitrary log messages */
129 void dropbear_log(int priority, const char* format, ...) { 129 void dropbear_log(int priority, const char* format, ...) {