Changeset 814 for branches/ithildin-1.1


Ignore:
Timestamp:
10/01/07 03:46:34 (5 years ago)
Author:
wd
Message:

For RFC1459 clients chew whitespace at the beginning of a message. This
works around a bug where PJIRC is sending \n\r as a message separator
(whoops).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/modules/ircd/protocols/rfc1459.c

    r579 r814  
    3939    s = cp->buf; 
    4040    cp->stats.precv++; 
     41 
     42    /* devour leading whitespace */ 
     43    while (isspace(*s)) 
     44        s++; 
     45 
    4146    if (*s == ':') { /* ignore prefix (what a waste of space...) */ 
    4247        while (!isspace(*s) && *s) 
Note: See TracChangeset for help on using the changeset viewer.