diff options
author | james <> | 2010-07-16 11:04:10 +0000 |
---|---|---|
committer | james <> | 2010-07-16 11:04:10 +0000 |
commit | e2bab1cd60f51ad68929cf8a97ef127d0dd83a80 (patch) | |
tree | f819dc91c5de1324410542bd01baffb3fb6f02f9 /src/log.c | |
parent | 9d0c0a33e96503e84f804fbcad8840162a4bf2ac (diff) | |
download | sympathy-e2bab1cd60f51ad68929cf8a97ef127d0dd83a80.tar.gz sympathy-e2bab1cd60f51ad68929cf8a97ef127d0dd83a80.tar.bz2 sympathy-e2bab1cd60f51ad68929cf8a97ef127d0dd83a80.zip |
ignore tedious return values
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.15 2010/07/16 11:04:10 james + * ignore tedious return values + * * Revision 1.14 2008/03/11 17:56:04 james * *** empty log message *** * @@ -151,8 +154,8 @@ flog_log (Log * _l, char *buf) t = tv.tv_sec; tm = localtime (&t); - fprintf (l->fp, "%s %2d %02d:%02d:%02d.%06d ", months[tm->tm_mon], - tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, tv.tv_usec); + fprintf (l->fp, "%s %2d %02d:%02d:%02d ", months[tm->tm_mon], + tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); fputs (buf, l->fp); fputc ('\n', l->fp); |