projects
/
detour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9974314
)
fix pulser
author
Jann Horn
<jann@thejh.net>
Sat, 29 Mar 2014 12:21:31 +0000
(13:21 +0100)
committer
Jann Horn
<jann@thejh.net>
Sat, 29 Mar 2014 12:21:31 +0000
(13:21 +0100)
pulser.c
patch
|
blob
|
history
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);