From be6685eb74f7fcfeb101c7a0a014febf52a30302 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 27 Feb 2015 21:16:38 +0000 Subject: [PATCH] 0 is not an error --- src/readcdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/readcdf.c b/src/readcdf.c index e827bc90..50aa6d68 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.51 2015/01/11 16:58:25 christos Exp $") +FILE_RCSID("@(#)$File: readcdf.c,v 1.52 2015/02/27 21:16:38 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); -- 2.40.0