summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-10 15:35:42 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-10 15:35:42 -0400
commit83a0848e6c92cda893dbfd04feb55c66c40b941e (patch)
tree5f538bc85967c9fb620968738ee83fd3cdf005d7
parent34075ed7df186a5a48dd4cfd90bd548c30b6fe28 (diff)
downloadwebpage-83a0848e6c92cda893dbfd04feb55c66c40b941e.tar.gz
webpage-83a0848e6c92cda893dbfd04feb55c66c40b941e.tar.bz2
webpage-83a0848e6c92cda893dbfd04feb55c66c40b941e.zip
You must be really bored to read through my commit logs
-rw-r--r--ws2a/gencaptcha.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ws2a/gencaptcha.c b/ws2a/gencaptcha.c
index 1126ddb..57f1ad6 100644
--- a/ws2a/gencaptcha.c
+++ b/ws2a/gencaptcha.c
@@ -86,6 +86,8 @@ int main(){
return 1;
}
fread(buffer, filelen, 1, imgfile);
+ printf("%s%c%c\n",
+ "Content-Type:image/png",13,10);
int i = 0;
while(i < filelen){
printf("%c",buffer[i]);