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

Comparing ircd-hybrid-7.2/modules/m_cap.c (file contents):
Revision 536 by michael, Thu Mar 23 09:59:02 2006 UTC vs.
Revision 575 by michael, Mon May 1 11:41:09 2006 UTC

# Line 175 | Line 175 | send_caplist(struct Client *sptr, unsign
175   {
176    char capbuf[IRCD_BUFSIZE] = "", pfx[16];
177    char cmdbuf[IRCD_BUFSIZE] = "";
178 <  int i, loc, len, flags, pfx_len, clen;
178 >  unsigned int i, loc, len, flags, pfx_len, clen;
179  
180    /* set up the buffer for the final LS message... */
181    clen = snprintf(cmdbuf, sizeof(capbuf), ":%s CAP %s %s ", me.name,
# Line 377 | Line 377 | cap_list(struct Client *sptr, const char
377  
378   static struct subcmd
379   {
380 <  char *cmd;
380 >  const char *cmd;
381    int (*proc)(struct Client *sptr, const char *caplist);
382   } cmdlist[] = {
383    { "ACK",   cap_ack   },
# Line 385 | Line 385 | static struct subcmd
385    { "END",   cap_end   },
386    { "LIST",  cap_list  },
387    { "LS",    cap_ls    },
388 <  { "NAK",   0         },
388 >  { "NAK",   NULL      },
389    { "REQ",   cap_req   }
390   };
391  

Diff Legend

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