diff options
-rw-r--r-- | src/c/urweb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index c71baee1..1a185b51 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -333,11 +333,7 @@ static void client_send(client *c, uw_buffer *msg, const char *script, int scrip c->send(c->sock, msg->start, uw_buffer_used(msg)); c->close(c->sock); c->sock = -1; - } else if ((script_len > 0 - && (c->send(c->sock, "E\n", 2) - || c->send(c->sock, script, script_len) - || c->send(c->sock, "\n", 1))) - || uw_buffer_append(&c->msgs, msg->start, uw_buffer_used(msg))) + } else if (uw_buffer_append(&c->msgs, msg->start, uw_buffer_used(msg))) fprintf(stderr, "Client message buffer size exceeded"); pthread_mutex_unlock(&c->lock); |