summaryrefslogtreecommitdiff
path: root/ws2a
diff options
context:
space:
mode:
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!");