Changeset 3043
- Timestamp:
- Jan 4, 2010 2:20:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/icedemo.c
r3028 r3043 262 262 static void log_func(int level, const char *data, int len) 263 263 { 264 if (icedemo.log_fhnd)265 fwrite(data, len, 1, icedemo.log_fhnd);266 264 pj_log_write(level, data, len); 265 if (icedemo.log_fhnd) { 266 if (fwrite(data, len, 1, icedemo.log_fhnd) != 1) 267 return; 268 } 267 269 } 268 270
Note: See TracChangeset
for help on using the changeset viewer.