diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-05-05 21:27:13 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-05-05 21:27:13 +1200 |
commit | a9428d4d4c6e3997bd18f1b01fe18e031e1b4c8b (patch) | |
tree | 902201d682b3dda35679c496382be258861a394e | |
parent | 17849ddadf87f60c74c55322b74e7e9f9449fcbf (diff) | |
download | pgm-interlace-a9428d4d4c6e3997bd18f1b01fe18e031e1b4c8b.tar.xz |
Reinstate return statement in error condition
This commented out during some debugging, should never have been committed
without uncommenting.
-rw-r--r-- | pgm-interlace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgm-interlace.c b/pgm-interlace.c index 33ba89d..18c06c6 100644 --- a/pgm-interlace.c +++ b/pgm-interlace.c @@ -225,7 +225,7 @@ int write_pgm(FILE *fout, unsigned long size, unsigned int white, FILE **fin, si if (c == EOF) { fprintf(stderr, "Unexpected EOF on file %lu at pixel (%lu,%lu); pgm input truncated? Stop.\n", fnum, x, y); -/* return 1;*/ + return 1; } fputc(c, fout); } |