summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aab902b)
raw | patch | inline | side by side (parent: aab902b)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 23 Feb 2009 14:38:29 +0000 (15:38 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 23 Feb 2009 14:38:29 +0000 (15:38 +0100) |
src/logfile.c | patch | blob | history |
diff --git a/src/logfile.c b/src/logfile.c
index 8e98c0478e925de5ad3a6e1372206e88af79dddf..03af7a3fe4369f2b614517613ac3c7108f52b7e1 100644 (file)
--- a/src/logfile.c
+++ b/src/logfile.c
buf[sizeof (buf) - 1] = '\0';
- logfile_print (buf, n->time);
+ logfile_print (buf,
+ (n->time > 0) ? n->time : time (NULL));
return (0);
} /* int logfile_notification */