From: Christos Zoulas Date: Fri, 27 Feb 2015 21:16:38 +0000 (+0000) Subject: 0 is not an error X-Git-Tag: FILE5_23~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d450b4a7d01294a0e706c862bbe8d2ad2a19cbb;p=file 0 is not an error --- diff --git a/src/readcdf.c b/src/readcdf.c index a31fe0b1..77351b8c 100644 --- a/src/readcdf.c +++ b/src/readcdf.c @@ -26,7 +26,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: readcdf.c,v 1.50 2015/01/02 21:29:39 christos Exp $") +FILE_RCSID("@(#)$File: readcdf.c,v 1.51 2015/01/11 16:58:25 christos Exp $") #endif #include @@ -362,7 +362,7 @@ cdf_file_catalog_info(struct magic_set *ms, const cdf_info_t *info, int i; if ((i = cdf_read_user_stream(info, h, sat, ssat, sst, - dir, "Catalog", scn)) <= 0) + dir, "Catalog", scn)) == -1) return i; #ifdef CDF_DEBUG cdf_dump_catalog(&h, &scn);