From 2c212c65181736ccbe09544a2f887813ae3927eb Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 10 May 2016 13:27:54 -0400 Subject: Fixed captcha path --- ws2a/gencaptcha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ws2a/gencaptcha.c b/ws2a/gencaptcha.c index c05090d..c0d776d 100644 --- a/ws2a/gencaptcha.c +++ b/ws2a/gencaptcha.c @@ -66,7 +66,7 @@ int main(){ FILE* imgfile; char filepath[100]; - sprintf(filepath,"../ws2a/captchas/%s.png","r"); + sprintf(filepath,"../ws2a/captchas/%s.png",randwords); imgfile = fopen(filepath,"r"); if(imgfile == NULL){ printf("Unable to open file!"); -- cgit v1.2.3-70-g09d2