summaryrefslogtreecommitdiff
path: root/ws2a/writetest.c
diff options
context:
space:
mode:
Diffstat (limited to 'ws2a/writetest.c')
-rw-r--r--ws2a/writetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ws2a/writetest.c b/ws2a/writetest.c
index ea23b0f..03294fb 100644
--- a/ws2a/writetest.c
+++ b/ws2a/writetest.c
@@ -18,8 +18,8 @@ int main(){
FILE* tofile;
char tofilepath[100];
- sprintf(tofilepath,"/home/git/wswebpage/ws2a/%s.txt","test");
- tofile = fopen(tofilepath,"wb");
+ sprintf(tofilepath,"../ws2a/%s.txt","test");
+ tofile = fopen(tofilepath,"w");
fprintf(tofile,"This is some text");
fclose(tofile);
printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10);