Group :: Sound
RPM: mpdscribble
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: mpdscribble-alt-src-time_in_log_fix.patch
Download
Download
Fix for bug: http://code.google.com/p/mpdscribble/issues/detail?id=17
Thanks to wmclaffe who propose this fix.
diff --git a/mpdscribble/misc.c b/mpdscribble/misc.c
index 0b6c7ee..caff50a 100644
--- a/mpdscribble/misc.c
+++ b/mpdscribble/misc.c
@@ -43,7 +43,7 @@ log_date (void)
struct tm *tmp;
t = time(NULL);
- tmp = gmtime(&t);
+ tmp = localtime(&t);
if (tmp==NULL) {
buf[0] = 0;
return buf;