Changeset 954
- Timestamp:
- Feb 16, 2007 11:56:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/os_error_win32.c
r907 r954 195 195 bufsize, 196 196 NULL); 197 buf[bufsize-1] = '\0'; 197 198 #endif 198 199 … … 209 210 len = pj_ansi_snprintf( buf, bufsize, "Win32 error code %u", 210 211 (unsigned)os_errcode); 212 if (len < 0 || len >= (int)bufsize) 213 len = bufsize-1; 211 214 buf[len] = '\0'; 212 215 }
Note: See TracChangeset
for help on using the changeset viewer.