Changeset 279 for trunk/src/slib.c
- Timestamp:
- Apr 30, 2010, 11:55:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/slib.c
r272 r279 16 16 #endif 17 17 18 #include <sys/types.h> 19 #include <sys/stat.h> 18 20 #include <unistd.h> 19 #include <sys/stat.h>20 #include <sys/types.h>21 21 #include <fcntl.h> 22 22 #include <signal.h> … … 259 259 else 260 260 sl_strlcpy(tmp, fmt, 256); 261 retval = s l_strlen(tmp);261 retval = strlen(tmp); 262 262 if (retval > 0 && tmp[retval-1] == '\n') 263 263 tmp[retval-1] = '\0'; … … 274 274 sprintf (val, _("[%2d] "), trace_level); 275 275 sl_strlcat (msg, val, 256); 276 sl_vsnprintf (&msg[s l_strlen(msg)], 255, tmp, ap);276 sl_vsnprintf (&msg[strlen(msg)], 255, tmp, ap); 277 277 sl_snprintf (tmp, 255, _(" \t - File %c%s%c at line %d"), 278 278 0x22, file, 0x22, line);
Note:
See TracChangeset
for help on using the changeset viewer.