Return to krl.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.26, 2015/01/14 15:02:39 | version 1.27, 2015/01/18 14:01:00 | ||
---|---|---|---|
|
|
||
t = timestamp; | t = timestamp; | ||
tm = localtime(&t); | tm = localtime(&t); | ||
if (tm == NULL) | if (tm == NULL) | ||
strlcpy(ts, "<INVALID>", sizeof(nts)); | strlcpy(ts, "<INVALID>", nts); | ||
else { | else { | ||
*ts = '\0'; | *ts = '\0'; | ||
strftime(ts, nts, "%Y%m%dT%H%M%S", tm); | strftime(ts, nts, "%Y%m%dT%H%M%S", tm); |