Skip to content

Commit

Permalink
0 is not an error
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Feb 27, 2015
1 parent 5c75d6d commit 2d450b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/readcdf.c
Expand Up @@ -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 <assert.h>
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2d450b4

Please sign in to comment.