Branch: Tag:

2002-12-04

2002-12-04 13:55:56 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some identifier reference bugs that only recently produced the
proper compile warning (which is an error in 7.3).

Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.31

2:      // LDAP client protocol implementation for Pike.   // - // $Id: client.pike,v 1.30 2002/01/23 06:59:29 hop Exp $ + // $Id: client.pike,v 1.31 2002/12/04 13:55:56 mast Exp $   //   // Honza Petrous, hop@unibase.cz   //
178:    int lastel = sizeof(rawres) - 1;       if (lastel < 0) { -  ::seterr (LDAP_LOCAL_ERROR); +  seterr (LDAP_LOCAL_ERROR);    THROW(({"LDAP: Internal error.\n",backtrace()})); -  return(-::ldap_errno); +  return(-ldap_errno);    }    DWRITE(sprintf("result.create: rawres=%O\n",rawres[lastel]));   
358:    void create(string|void url, object|void context)    {    -  info = ([ "code_revision" : ("$Revision: 1.30 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.31 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;