[Pkg-wmaker-commits] [wmbubble] 95/207: Fix stupid shifttime bug (advancing 1 hour per refresh)

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:18:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmbubble.

commit 7c0ca266f3b0e96c84b23ecdbfa0c7ea51b44674
Author: Robert Jacobs <rnjacobs at mit.edu>
Date:   Mon Aug 22 00:46:17 2011 -0700

    Fix stupid shifttime bug (advancing 1 hour per refresh)
---
 bubblemon.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bubblemon.c b/bubblemon.c
index 4728cf4..d6cdce8 100644
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -544,6 +544,7 @@ int main(int argc, char **argv) {
 		time(&mytt);
 		mytime = localtime(&mytt);
 		mday = mytime->tm_mday;
+		hours = 0;
 
 		if (mytime->tm_hour<shifttime) {
 			while (mday == mytime->tm_mday) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git



More information about the Pkg-wmaker-commits mailing list