summaryrefslogtreecommitdiff
path: root/ws2a
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-10 13:27:54 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-10 13:27:54 -0400
commit2c212c65181736ccbe09544a2f887813ae3927eb (patch)
treeca58272a3cca2f4339207f1631b0751b695a6a9a /ws2a
parentbb5d7ae5973465c0440dab321254b5a43107c103 (diff)
downloadwebpage-2c212c65181736ccbe09544a2f887813ae3927eb.tar.gz
webpage-2c212c65181736ccbe09544a2f887813ae3927eb.tar.bz2
webpage-2c212c65181736ccbe09544a2f887813ae3927eb.zip
Fixed captcha path
Diffstat (limited to 'ws2a')
-rw-r--r--ws2a/gencaptcha.c2
1 files changed, 1 insertions, 1 deletions
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!");