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; |
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) |
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 |
|
{ |