summaryrefslogtreecommitdiff
path: root/ws2a/showbug.c
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-09 16:52:18 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-09 16:52:18 -0400
commit3daa5e663aa02ee9d3d553c6b80081cfde76fec4 (patch)
treef5a55fd98278b22f392fa40c0fff81a1cfdc25e7 /ws2a/showbug.c
parent15b265a00e5bd69c78cf51b01c8cdcf3e4c1828c (diff)
downloadwebpage-3daa5e663aa02ee9d3d553c6b80081cfde76fec4.tar.gz
webpage-3daa5e663aa02ee9d3d553c6b80081cfde76fec4.tar.bz2
webpage-3daa5e663aa02ee9d3d553c6b80081cfde76fec4.zip
More work on showing bugs
Diffstat (limited to 'ws2a/showbug.c')
-rw-r--r--ws2a/showbug.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ws2a/showbug.c b/ws2a/showbug.c
index 8aa4aeb..a92776e 100644
--- a/ws2a/showbug.c
+++ b/ws2a/showbug.c
@@ -9,7 +9,6 @@ int main(){
char* hardip = getenv("REMOTE_ADDR");
printf("%s%c%c\n",
"Content-Type:text/html;charset=iso-8859-1",13,10);
- printf("Data:%s",data);
FILE* lastfilenum;
lastfilenum = fopen("../ws2a/bugs/lastbug","r");
if(lastfilenum == NULL){
@@ -21,7 +20,6 @@ int main(){
fclose(lastfilenum);
long long thisid = 0;
sscanf(data,"id=%lld",&thisid);
- printf("Looking for bugid:%lld",thisid);
if(thisid > last){
printf("Invalid!");
return 1;
@@ -37,7 +35,6 @@ int main(){
printf("Unable to open bug file!");
return 1;
}
- printf("File:");
while(!feof(bugfile)){
putchar(fgetc(bugfile));
}