diff options
author | james <> | 2008-03-07 13:16:02 +0000 |
---|---|---|
committer | james <> | 2008-03-07 13:16:02 +0000 |
commit | be42afab1c325fae5c3c270876a3447220adcca5 (patch) | |
tree | bc1a2e2f73defb90dec0990cb849b51dd0e50dfe /src/log.c | |
parent | fc0af42eb82bf94a9b1174d3ba96536238bc5fcd (diff) | |
download | sympathy-be42afab1c325fae5c3c270876a3447220adcca5.tar.gz sympathy-be42afab1c325fae5c3c270876a3447220adcca5.tar.bz2 sympathy-be42afab1c325fae5c3c270876a3447220adcca5.zip |
*** empty log message ***
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.11 2008/03/07 13:16:02 james + * *** empty log message *** + * * Revision 1.10 2008/03/07 12:37:04 james * *** empty log message *** * @@ -119,7 +122,7 @@ file_log_new (char *fn, int rotate) dc = 0; } - l = malloc (sizeof (File_Log)); + l = xmalloc (sizeof (File_Log)); l->log = flog_log; l->close = flog_close; @@ -168,7 +171,7 @@ log_f (Log * log, char *fmt, ...) else /* glibc 2.0 */ size *= 2; /* twice the old size */ - buf = realloc (buf, size); + buf = xrealloc (buf, size); if (!buf) return; |