aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 79d630f..6437c8e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -74,7 +74,7 @@ int main(int argc, char* argv[])
}
printf("headstripper v%i.%i\n", _VERSION, _SUBVERSION);
- DEBUG_PRINTF("==DEBUG MODE==\n");
+ DEBUG_PRINTF("==DEBUG BUILD==\n");
for(unsigned int cntr = 1; cntr < argc; cntr++)
{
@@ -172,7 +172,10 @@ int strip_jpg(char *_filename)
fputc(c, out);
if(feof(in))
+ {
+ DEBUG_PRINTF("Reached EOF before ENDSEG\n");
break;
+ }
}
fclose(in);
@@ -257,7 +260,10 @@ int strip_png(char *_filename)
}
if(feof(in))
- break;
+ {
+ DEBUG_PRINTF("Reached EOF before IEND\n");
+ break;
+ }
}
fclose(in);