From bb5d7ae5973465c0440dab321254b5a43107c103 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 10 May 2016 13:25:15 -0400 Subject: Added debug messages to captcha generation --- ws2a/gencaptcha.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ws2a/gencaptcha.c') 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)){ -- cgit v1.2.3-70-g09d2