projects
/
detour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add hint on how to download the code
[detour.git]
/
pulser.c
diff --git
a/pulser.c
b/pulser.c
index
91fc5db
..
370d1ff
100644
(file)
--- a/
pulser.c
+++ b/
pulser.c
@@
-6,6
+6,7
@@
void handle_connection(int s) {
char line_in[100];
if (!fgets(line_in, 100, stdin)) return;
+ if (!strncmp(line_in, "GET /", strlen("GET /"))) return;
char *p = line_in + strlen("GET /");
setbuf(stdout, NULL);