mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
parent
2b209348bd
commit
29ebac987d
@ -560,6 +560,9 @@ char *my_asctime(time_t t)
|
|||||||
int len;
|
int len;
|
||||||
|
|
||||||
tm = localtime(&t);
|
tm = localtime(&t);
|
||||||
|
if (tm == NULL)
|
||||||
|
return g_strdup("???");
|
||||||
|
|
||||||
str = g_strdup(asctime(tm));
|
str = g_strdup(asctime(tm));
|
||||||
|
|
||||||
len = strlen(str);
|
len = strlen(str);
|
||||||
|
Loading…
Reference in New Issue
Block a user