Don't dump core if ctime returns NULL; this is possible on
authorJim Meyering <jim@meyering.net>
Sun, 20 Jun 2004 06:53:05 +0000 (06:53 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 20 Jun 2004 06:53:05 +0000 (06:53 +0000)
commitf2d779e87c20bc37c3e60194c3a5c1f0f3f7c1f4
tree9c926ed1ef4844ca0264af40f42a491c77e666cd
parentb3a6653a609e837bcb0a166256fba70ee8b91133
Don't dump core if ctime returns NULL; this is possible on
hosts with 64-bit time_t and 32-bit int.

Include "inttostr.h".
(time_string): If ctime fails, print the raw time as an integer
instead of dumping core.
src/who.c