commit a6b8c2d30e54a3ca040e6f95ed4d263bf2a46d7e
parent d94af982e1e31998a0fc666cebdd90c65406f6f6
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 12 Apr 2006 11:44:45 +0200
fixed wmiirc ctime handling
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wmiir.c b/cmd/wmiir.c
@@ -125,7 +125,7 @@ time2str(unsigned int t)
{
static char buf[32];
char *tstr = ctime((time_t *)&t);
- cext_strlcpy(buf, tstr ? tstr : "invalid", sizeof(buf));
+ cext_strlcpy(buf, tstr ? tstr : "invalid ", sizeof(buf));
buf[strlen(buf) - 1] = 0;
return buf;
}