ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.3/src/send.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/send.c (file contents):
Revision 948 by michael, Tue Jul 21 17:34:06 2009 UTC vs.
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)