Anonymous - 2009-05-22

also note the use of

if ((delim[0] & 0xff) == 0xff
instead of if(delim[0] = 255
which is ALWAYS FALSE.