mcabber/src/utils.c
changeset 463 339e85418b49
parent 456 471c9ccde028
child 524 05c0e55c4bb1
--- a/mcabber/src/utils.c	Thu Sep 29 21:28:39 2005 +0200
+++ b/mcabber/src/utils.c	Thu Sep 29 22:03:22 2005 +0200
@@ -178,6 +178,9 @@
   time(&retval);
   localtime_r(&retval, &t);
 
+  /* Reset time to midnight (00:00:00) */
+  t.tm_hour = t.tm_min = t.tm_sec = 0;
+
   snprintf(buf, sizeof(buf), "%s", timestamp);
   c = buf;