summaryrefslogtreecommitdiff
path: root/ws2a
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-11 13:45:42 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-11 13:45:42 -0400
commiteb124f52957d579bf973260a24fe84cee7c1fd8b (patch)
treece0423474edaa9b75098906060c590d93cca0ccc /ws2a
parent74f2c8c1a50264073d7f0eee270e925ee0850104 (diff)
downloadwebpage-eb124f52957d579bf973260a24fe84cee7c1fd8b.tar.gz
webpage-eb124f52957d579bf973260a24fe84cee7c1fd8b.tar.bz2
webpage-eb124f52957d579bf973260a24fe84cee7c1fd8b.zip
Updated gen captcha to also create it's file
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 7ab063a..f40b165 100644
--- a/ws2a/gencaptcha.c
+++ b/ws2a/gencaptcha.c
@@ -84,7 +84,7 @@ int main(){
char filepath[100];
sprintf(filepath,"/home/git/wswebpage/ws2a/captchas/%s.txt",randwords);
tfile = fopen(filepath,"w");
- fprintf(tfile,rhash);
+ fprintf(tfile,"%lu",rhash);
fclose(tfile);
return 0;