Fix one typo

This commit is contained in:
Ulrich Drepper 2011-12-21 18:57:18 -05:00
parent ee190f67cc
commit 8fa26d571d

View File

@ -278,7 +278,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap)
if (__builtin_expect (tzspec_len < num_isstd, 0))
goto lose;
tzspec_len -= num_isstd;
if (__builtin_expect (tzspec == 0 || tzspec_len - 1 < num_isgmt, 0))
if (__builtin_expect (tzspec_len == 0 || tzspec_len - 1 < num_isgmt, 0))
goto lose;
tzspec_len -= num_isgmt + 1;
if (__builtin_expect (SIZE_MAX - total_size < tzspec_len, 0))