pike.git / lib / modules / Protocols.pmod / LDAP.pmod / client.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1:   #pike __REAL_VERSION__      // LDAP client protocol implementation for Pike.   // - // $Id: client.pike,v 1.114 2008/06/28 16:49:54 nilsson Exp $ + // $Id: client.pike,v 1.115 2008/09/01 18:10:51 grubba Exp $   //   // Honza Petrous, hop@unibase.cz   //   // ----------------------------------------------------------------------   //   // History:   //   // v0.0 1998-05-25 Starting up!   // v1.0 1998-06-21 Core functions (open, bind, unbind, delete, add,   // compare, search), only V2 operations,
pike.git/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:2182:    switch (sscanf (str, "'%[^']'%*[ ]%s", qstr, str)) {    case 0:    ERROR ("%sExpected %s after term %O at pos %d: %O\n",    errmsg_prefix, what, term_id, sizeof (orig_str) - pos, orig_str);    case 1:    ERROR ("%sUnterminated %s after term %O at pos %d: %O\n",    errmsg_prefix, what, term_id, sizeof (orig_str) - pos, orig_str);    }    if (catch (qstr = utf8_to_string (qstr)))    ERROR ("%sMalformed UTF-8 in %s after term %O at pos %d: %O\n", -  term_id, what, sizeof (orig_str) - pos, orig_str); +  errmsg_prefix, what, term_id, sizeof (orig_str) - pos, orig_str);    return ldap_decode_string (qstr);    };    res[term_id] = parse_qdstring ("quoted string");    break;       case "qdstrings": // One or more quoted UTF-8 strings.    if (sscanf (str, "(%*[ ]%s", str)) {    array(string) list = ({});    do {    if (str == "")