diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-19 00:57:24 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-19 00:57:24 +0100 |
commit | 3d7fdaec584ad7080d187b8aa53c6546d9c1d8d7 (patch) | |
tree | 84d31aa619b274e707ea43bd760c8312dbebfeaf /src | |
parent | a363cb9b9111aed22d105adb0e7a8e9caab9bbe3 (diff) | |
download | calcurse-3d7fdaec584ad7080d187b8aa53c6546d9c1d8d7.zip |
date_sec2date_str(): Add missing semicolon
Regression introduced in a363cb9b9111aed22d105adb0e7a8e9caab9bbe3.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index b7dbf42..11b7d60 100644 --- a/src/utils.c +++ b/src/utils.c @@ -381,7 +381,7 @@ char *date_sec2date_str(long sec, const char *datefmt) char *datestr = (char *)mem_calloc(BUFSIZ, sizeof(char)); if (sec == 0) { - strncpy(datestr, "0", BUFSIZ) + strncpy(datestr, "0", BUFSIZ); } else { localtime_r((time_t *)&sec, <); strftime(datestr, BUFSIZ, datefmt, <); |