mirror of
https://github.com/bdnugget/kcgi.git
synced 2026-11-07 05:47:27 +00:00
Don't use XWARNX.
This commit is contained in:
1 parent
8f6510b531
commit
4d7a2e049f
1 file changed
+2
-2
+2
-2
@@ -368,7 +368,7 @@ khttp_epoch2str(int64_t tt, char *buf, size_t sz)
|
||||
days[tm.tm_wday], tm.tm_mday,
|
||||
months[tm.tm_mon], tm.tm_year + 1900,
|
||||
tm.tm_hour, tm.tm_min, tm.tm_sec) == -1) {
|
||||
XWARNX("snprintf");
|
||||
kutil_warn(NULL, NULL, "snprintf");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -405,7 +405,7 @@ khttp_epoch2ustr(int64_t tt, char *buf, size_t sz)
|
||||
"T%.2" PRId64 ":%.2" PRId64 ":%.2" PRId64 "Z",
|
||||
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
|
||||
tm.tm_hour, tm.tm_min, tm.tm_sec) == -1) {
|
||||
XWARNX("snprintf");
|
||||
kutil_warn(NULL, NULL, "snprintf");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user