Branch: Tag:

1999-03-02

1999-03-02 22:53:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved debug.

Rev: lib/modules/Protocols.pmod/IMAP.pmod/types.pmod:1.9

35:      array imap_check_array(array a)   { +  int index;    return(Array.filter(a, lambda(mixed item) { -  +  index++;    if (!item || stringp(item) || objectp(item)) {    return 1;    }    werror(describe_backtrace( ({ -  sprintf("Bad array element %O\n", item), +  sprintf("Bad array element %O (%d)\n", +  item, index-1),    backtrace()    }) ));    return 0;