diff options
| author | Alexander Pickering <Apickx@cogarr.org> | 2016-05-10 17:12:32 -0400 |
|---|---|---|
| committer | Alexander Pickering <Apickx@cogarr.org> | 2016-05-10 17:12:32 -0400 |
| commit | 6fd7d7c521ed94ec121c7765b32527905306450b (patch) | |
| tree | 6380bdea0523d93cd545630840bf09ce52feb0a8 | |
| parent | 1770bede584a1ca96fabcdec5b7936ed76096915 (diff) | |
| parent | ea0be5b3a4b2d453ae6962fa21d72fb5d7cb3012 (diff) | |
| download | webpage-6fd7d7c521ed94ec121c7765b32527905306450b.tar.gz webpage-6fd7d7c521ed94ec121c7765b32527905306450b.tar.bz2 webpage-6fd7d7c521ed94ec121c7765b32527905306450b.zip | |
Merge branch 'development'
| -rw-r--r-- | ws2a/writetest.c | 4 |
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); |
