git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/Mouse - Fixing bugs, removing debug
[tpg/acess2.git]
/
Usermode
/
Applications
/
testserver_src
/
main.c
diff --git
a/Usermode/Applications/testserver_src/main.c
b/Usermode/Applications/testserver_src/main.c
index
3274174
..
0b787dd
100644
(file)
--- a/
Usermode/Applications/testserver_src/main.c
+++ b/
Usermode/Applications/testserver_src/main.c
@@
-50,9
+50,9
@@
int main(int argc, char *argv[])
#define RET_STR "HTTP/1.1 200 OK\r\n"\
"Content-Type: text/plain\r\n"\
#define RET_STR "HTTP/1.1 200 OK\r\n"\
"Content-Type: text/plain\r\n"\
- "Content-Length:
6
\r\n"\
+ "Content-Length:
92
\r\n"\
"\r\n"\
"\r\n"\
- "
Hello!
"
+ "
<html><head><title>Acess2 Web Server</title></head><body><h1>Hello World!</h1></body></html>\r\n
"
write(con, sizeof(RET_STR), RET_STR);
write(con, sizeof(RET_STR), RET_STR);
UCC
git Repository :: git.ucc.asn.au