1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-21 05:21:47 +00:00
SCCS-file: zdump.c
SCCS-SID: 7.3
This commit is contained in:
Arthur David Olson
1992-11-23 11:25:36 -05:00
committed by Paul Eggert
parent a37b9f16f9
commit e9be4758e7

View File

@ -270,9 +270,10 @@ abbr(tmp)
struct tm * tmp;
{
register char * result;
static char nada[1];
if (tmp->tm_isdst != 0 && tmp->tm_isdst != 1)
return "";
return nada;
result = tzname[tmp->tm_isdst];
return (result == NULL) ? "" : result;
return (result == NULL) ? nada : result;
}