fixed buffer for human-readable date
This commit is contained in:
parent
ac5e334956
commit
8295df646f
2 changed files with 1 additions and 1 deletions
BIN
cclock
BIN
cclock
Binary file not shown.
2
cclock.c
2
cclock.c
|
|
@ -252,7 +252,7 @@ for (int i = 1; i < argc; i++) {
|
||||||
|
|
||||||
curl_global_init(CURL_GLOBAL_DEFAULT);
|
curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||||
|
|
||||||
char time_buf[16], date_buf[15], temp_buf[64];
|
char time_buf[16], date_buf[20], temp_buf[64];
|
||||||
time_t last_fetch = 0;
|
time_t last_fetch = 0;
|
||||||
const int refresh_interval = 600; /* 10 minutes */
|
const int refresh_interval = 600; /* 10 minutes */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue