pike.git / lib / modules / Protocols.pmod / IMAP.pmod / parse_line.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/IMAP.pmod/parse_line.pike:286:    skip_whitespace();       if (!strlen(buffer))    return 0;       if (buffer[0] == terminator)    {    buffer = buffer[1..];    return a;    } -  mapping o = get_simple_list(max_depth); -  if (!o) +  mapping m = get_simple_list(max_depth); +  if (!m) { +  werror("get_simple_list(%d) failed\n");    return 0;    } -  +  /* FIXME: m is thrown away?! */    } -  + }      /* Reads an atom, optionally followd by a list enclosed in square    * brackets. Naturally, the atom itself cannot contain any brackets.    *    * Returns a mapping    * type : "atom",    * atom : name,    * raw : name[options]    * options : parsed options,    * range : ({ start, size })