diff --git a/src/utils.c b/src/utils.c index 1763b15e6..efe108b23 100644 --- a/src/utils.c +++ b/src/utils.c @@ -555,7 +555,13 @@ iso_if_time (time_t epoch_time) { static char *empty = ""; if (epoch_time) - return iso_time (&epoch_time); + { + char *ret; + + ret = iso_time (&epoch_time); + if (ret) + return ret; + } return empty; }