mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
parent
2b209348bd
commit
29ebac987d
1 changed files with 3 additions and 0 deletions
|
|
@ -560,6 +560,9 @@ char *my_asctime(time_t t)
|
|||
int len;
|
||||
|
||||
tm = localtime(&t);
|
||||
if (tm == NULL)
|
||||
return g_strdup("???");
|
||||
|
||||
str = g_strdup(asctime(tm));
|
||||
|
||||
len = strlen(str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue