From: Alexandru C. <cs...@us...> - 2007-07-31 21:28:55
|
Update of /cvsroot/groundstation/gpredict2/src In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv30869 Modified Files: gtk-sat-module-tmg.c Log Message: use sat-log instead of stdout for time messages. Index: gtk-sat-module-tmg.c =================================================================== RCS file: /cvsroot/groundstation/gpredict2/src/gtk-sat-module-tmg.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** gtk-sat-module-tmg.c 16 Jul 2007 16:29:10 -0000 1.7 --- gtk-sat-module-tmg.c 31 Jul 2007 21:28:49 -0000 1.8 *************** *** 453,457 **** /* update time only if we are in manual time control */ if (!mod->throttle && !mod->reset) { - g_print ("TIME SET\n"); /* get date and time from widgets */ --- 453,456 ---- *************** *** 472,478 **** tim.tm_sec = (int) sec; ! g_print ("%d/%d/%d %d:%d:%d.%d\n", tim.tm_year, tim.tm_mon, ! tim.tm_mday, tim.tm_hour, tim.tm_min, tim.tm_sec, msec); ! /* convert to Julian Date (FIXME: only UTC?) */ --- 471,479 ---- tim.tm_sec = (int) sec; ! sat_log_log (SAT_LOG_LEVEL_DEBUG, ! _("%s: %d/%d/%d %d:%d:%d.%d"), ! __FUNCTION__, ! tim.tm_year, tim.tm_mon, tim.tm_mday, ! tim.tm_hour, tim.tm_min, tim.tm_sec, msec); /* convert to Julian Date (FIXME: only UTC?) */ |