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

Comparing ircd-hybrid/trunk/src/packet.c (file contents):
Revision 5421 by michael, Sun Jan 25 17:50:37 2015 UTC vs.
Revision 5422 by michael, Sun Jan 25 17:57:12 2015 UTC

# Line 57 | Line 57 | static char readBuf[READBUF_SIZE];
57   *      necessary fields (buffer etc..)
58   */
59   static void
60 < client_dopacket(struct Client *client_p, char *buffer, size_t length)
60 > client_dopacket(struct Client *client_p, char *buffer, unsigned int length)
61   {
62    /* Update messages received */
63    ++me.connection->recv.messages;
# Line 77 | Line 77 | client_dopacket(struct Client *client_p,
77   * output       - length of <buffer>
78   * side effects - one line is copied and removed from the dbuf
79   */
80 < static int
80 > static unsigned int
81   extract_one_line(struct dbuf_queue *qptr, char *buffer)
82   {
83 <  int line_bytes = 0, eol_bytes = 0;
83 >  unsigned int line_bytes = 0, eol_bytes = 0;
84    dlink_node *node;
85  
86    DLINK_FOREACH(node, qptr->blocks.head)
# Line 135 | Line 135 | out:
135   static void
136   parse_client_queued(struct Client *client_p)
137   {
138 <  int dolen = 0;
138 >  unsigned int dolen = 0;
139  
140    if (IsUnknown(client_p))
141    {

Diff Legend

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