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

Comparing:
ircd-hybrid/src/packet.c (file contents), Revision 32 by knight, Sun Oct 2 20:41:23 2005 UTC vs.
ircd-hybrid-7.2/src/packet.c (file contents), Revision 163 by adx, Thu Oct 20 21:09:02 2005 UTC

# Line 166 | Line 166 | parse_client_queued(struct Client *clien
166        client_dopacket(client_p, readBuf, dolen);
167      }
168    }
169 <  else if(IsClient(client_p))
169 >  else if (IsClient(client_p))
170    {
171      if (ConfigFileEntry.no_oper_flood && (IsOper(client_p) || IsCanFlood(client_p)))
172      {
# Line 390 | Line 390 | nodata:
390   }
391  
392   /*
393 + * iorecv_default - append a packet to the recvq dbuf
394 + */
395 + void *
396 + iorecv_default(va_list args)
397 + {
398 +  struct Client *client_p = va_arg(args, struct Client *);
399 +  int length = va_arg(args, int);
400 +  char *buf = va_arg(args, char *);
401 +
402 +  dbuf_put(&client_p->localClient->buf_recvq, buf, length);
403 +  return NULL;
404 + }
405 +
406 + /*
407   * read_packet - Read a 'packet' of data from a connection and process it.
408   */
409   void
# Line 461 | Line 475 | read_packet(fde_t *fd, void *data)
475        client_p->since = CurrentTime;
476      ClearPingSent(client_p);
477  
464    dbuf_put(&client_p->localClient->buf_recvq, readBuf, length);
465
478      /* Attempt to parse what we have */
479      parse_client_queued(client_p);
480  

Comparing:
ircd-hybrid/src/packet.c (property svn:keywords), Revision 32 by knight, Sun Oct 2 20:41:23 2005 UTC vs.
ircd-hybrid-7.2/src/packet.c (property svn:keywords), Revision 163 by adx, Thu Oct 20 21:09:02 2005 UTC

# Line 1 | Line 1
1 < Revision
1 > Id Revision

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines