Changeset 801 for trunk/ithildin/modules/ircd/protocol.c
- Timestamp:
- 02/12/07 05:52:32 (5 years ago)
- File:
-
- 1 edited
-
trunk/ithildin/modules/ircd/protocol.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ithildin/modules/ircd/protocol.c
r787 r801 32 32 char *s; 33 33 34 if (!(cp->flags & IRCD_CONNFL_STAGE2)) { /* initialize the connection */ 34 if (cp->buf == NULL || cp->bufsize == 0) { 35 /* initialize the connection */ 35 36 cp->buf = malloc(DEFAULT_BUFFER_SIZE); 36 37 cp->buflen = 0; 37 38 cp->bufsize = DEFAULT_BUFFER_SIZE; 38 cp->flags |= IRCD_CONNFL_STAGE2;39 39 cp->buf[0] = '\0'; 40 40 } … … 252 252 return; /* don't do this here.. */ 253 253 254 cp = LIST_FIRST(ircd.connections. stage1);254 cp = LIST_FIRST(ircd.connections.connected); 255 255 while (cp != NULL) { 256 256 cp2 = LIST_NEXT(cp, lp); … … 259 259 cp = cp2; 260 260 } 261 cp = LIST_FIRST(ircd.connections. stage2);261 cp = LIST_FIRST(ircd.connections.unregistered); 262 262 while (cp != NULL) { 263 263 cp2 = LIST_NEXT(cp, lp);
Note: See TracChangeset
for help on using the changeset viewer.
