diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-11 13:45:42 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-11 13:45:42 -0400 |
| commit | eb124f52957d579bf973260a24fe84cee7c1fd8b (patch) | |
| tree | ce0423474edaa9b75098906060c590d93cca0ccc | |
| parent | 74f2c8c1a50264073d7f0eee270e925ee0850104 (diff) | |
| download | webpage-eb124f52957d579bf973260a24fe84cee7c1fd8b.tar.gz webpage-eb124f52957d579bf973260a24fe84cee7c1fd8b.tar.bz2 webpage-eb124f52957d579bf973260a24fe84cee7c1fd8b.zip | |
Updated gen captcha to also create it's file
| -rw-r--r-- | ws2a/gencaptcha.c | 2 |
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; |
