diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-05-25 03:52:49 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-05-25 03:52:49 +0200 |
commit | fa242bb301de8bbfdef76ced13fb32a3b744f10c (patch) | |
tree | 78a0686b2e935da05abe9cc6313e0c377cdeaf8c /src | |
parent | try not to loose data when removing client... needs testing!!! (diff) |
added testserver and testclient
Diffstat (limited to 'src')
-rw-r--r-- | src/clients.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/clients.c b/src/clients.c index f59d575..dfd00cc 100644 --- a/src/clients.c +++ b/src/clients.c @@ -408,7 +408,6 @@ int clients_write(clients_t* list, fd_set* set) for(i=0; i<2; ++i) { if(FD_ISSET(c->fd_[i], set)) { log_printf(DEBUG, "calling send(%d)", c->fd_[i]); - int len = send(c->fd_[i], c->write_buf_[i].buf_, c->write_buf_offset_[i], 0); if(len < 0) { // TODO: the other socket might still have data pending.... |