diff options
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -471,6 +471,7 @@ void tip_server_accept_cb(struct ev_loop *loop, struct ev_io *io, int events) } memcpy(&cli->addr, &client_addr, sizeof(client_addr)); cli->fd = -1; + cli->chunk = -1; syslog(LOG_ERR, "accepting client connection from %s:%hu", inet_ntoa(cli->addr.sin_addr), htons(cli->addr.sin_port)); |