Branch: Tag:

1999-03-22

1999-03-22 19:19:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

More debug, and a fix?

Rev: lib/modules/Protocols.pmod/IMAP.pmod/parse_line.pike:1.19

280:       werror(sprintf("do_parse_simple_list(%d, '%c')\n", max_depth, terminator));    +  buffer = buffer[1..]; +     while(1)    { -  buffer = buffer[1..]; +     skip_whitespace();       if (!strlen(buffer))
293:    buffer = buffer[1..];    return a;    } +  +  a += ({ get_atom(max_depth-1) }); +     mapping m = get_simple_list(max_depth);    if (!m) { -  werror("get_simple_list(%d) failed\n"); -  return 0; +  werror(sprintf("get_simple_list(%d) failed\n", max_depth)); +  } else { +  a->list = m;    } -  /* FIXME: m is thrown away?! */ +     }   }