diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-10 13:25:15 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-10 13:25:15 -0400 |
| commit | bb5d7ae5973465c0440dab321254b5a43107c103 (patch) | |
| tree | 3f0f9f5ef861fba53797cfa6f29b316a3d842aab /ws2a/gencaptcha.c | |
| parent | 3b86442432c407c7e0ea5cdbc26b7bbc8bdb0cf8 (diff) | |
| download | webpage-bb5d7ae5973465c0440dab321254b5a43107c103.tar.gz webpage-bb5d7ae5973465c0440dab321254b5a43107c103.tar.bz2 webpage-bb5d7ae5973465c0440dab321254b5a43107c103.zip | |
Added debug messages to captcha generation
Diffstat (limited to 'ws2a/gencaptcha.c')
| -rw-r--r-- | ws2a/gencaptcha.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ws2a/gencaptcha.c b/ws2a/gencaptcha.c index 850cca7..c05090d 100644 --- a/ws2a/gencaptcha.c +++ b/ws2a/gencaptcha.c @@ -69,6 +69,7 @@ int main(){ sprintf(filepath,"../ws2a/captchas/%s.png","r"); imgfile = fopen(filepath,"r"); if(imgfile == NULL){ + printf("Unable to open file!"); return 1; } while(!feof(imgfile)){ |
