diff options
Diffstat (limited to 'ws2a/bugcomment.c')
| -rw-r--r-- | ws2a/bugcomment.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c index 6464314..a72488b 100644 --- a/ws2a/bugcomment.c +++ b/ws2a/bugcomment.c @@ -157,8 +157,10 @@ int main(){ char* dname = replaceHTML(name); char* duid = useridhash(userid); char* dcomment = replaceHTML(comment); - printf("Location: ../ws2a/bugview.html?id=%s\n\n",bugid); - //printf("<p>data:%s",data); + printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10); + //printf("Location: ../ws2a/bugview.html?id=%s\n\n",bugid); + printf("<p>data:%s",data); + printf("<p>comment:%s<p>dcomment:%s",comment,dcomment); //printf("Everything ok, inserting comment!"); fprintf(bugfile,"\n%s\n%s\n%s\n",dname,duid,dcomment); free(dname); |
