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.
ircd-hybrid/src/send.c (file contents), Revision 1028 by michael, Sun Nov 8 13:03:38 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  
# Line 550 | Line 544 | sendto_channel_butone(struct Client *one
544   * -davidt
545   */
546   void
547 < sendto_server(struct Client *one,
548 <              struct Channel *chptr, unsigned long caps,
549 <              unsigned long nocaps,
547 > sendto_server(struct Client *one, const struct Channel *chptr,
548 >              const unsigned int caps,
549 >              const unsigned int nocaps,
550                const char *format, ...)
551   {
552    va_list args;
# Line 737 | Line 731 | sendto_channel_local_butone(struct Clien
731   *                remote to this server.
732   */
733   void
734 < sendto_channel_remote(struct Client *one, struct Client *from, int type, int caps,
735 <                      int nocaps, struct Channel *chptr, const char *pattern, ...)
734 > sendto_channel_remote(struct Client *one, struct Client *from, int type,
735 >                      const unsigned int caps, const unsigned int nocaps,
736 >                      struct Channel *chptr, const char *pattern, ...)
737   {
738    va_list args;
739    char buffer[IRCD_BUFSIZE];

Diff Legend

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