summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
72468e9)
POSIX.1-2008 marks asctime() as obsolete.
Found by cppcheck.
tm = localtime(&t1);
}
wake_time_epoch = mktime(tm);
tm = localtime(&t1);
}
wake_time_epoch = mktime(tm);
- PARA_INFO_LOG("waketime: %s", asctime(tm));
+ PARA_INFO_LOG("waketime: %u:%02u", tm->tm_hour, tm->tm_min);
client_cmd("stop");
sleep(1);
if (fot) {
client_cmd("stop");
sleep(1);
if (fot) {