| # | Line 23 | Line 23 | |
|---|---|---|
| 23 | */ | |
| 24 | ||
| 25 | #include "stdinc.h" | |
| 26 | < | #include "tools.h" |
| 26 | > | #include "list.h" |
| 27 | #include "send.h" | |
| 28 | #include "channel.h" | |
| 29 | #include "client.h" | |
| # | Line 38 | Line 38 | |
| 38 | #include "s_serv.h" | |
| 39 | #include "sprintf_irc.h" | |
| 40 | #include "s_conf.h" | |
| 41 | – | #include "list.h" |
| 41 | #include "s_log.h" | |
| 42 | #include "memory.h" | |
| 43 | #include "hook.h" | |
| # | Line 294 | Line 293 | send_queued_write(struct Client *to) | |
| 293 | retlen = send(to->localClient->fd.fd, first->data, first->size, 0); | |
| 294 | ||
| 295 | if (retlen <= 0) | |
| 297 | – | { |
| 298 | – | #ifdef _WIN32 |
| 299 | – | errno = WSAGetLastError(); |
| 300 | – | #endif |
| 296 | break; | |
| 302 | – | } |
| 297 | ||
| 298 | dbuf_delete(&to->localClient->buf_sendq, retlen); | |
| 299 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |