From: Kurt Zeilenga Date: Thu, 6 Jun 2002 02:46:55 +0000 (+0000) Subject: ITS#1655 and ITS#1660 fixes from HEAD X-Git-Tag: OPENLDAP_REL_ENG_2_0_24~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e60d7eb31482c768e4e2f42aceadb778c8dca59d;p=thirdparty%2Fopenldap.git ITS#1655 and ITS#1660 fixes from HEAD --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 11dd182bac..96c9dbcfa3 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -212,15 +212,15 @@ static Connection* connection_get( ber_socket_t s ) ber_socket_t i, sd; for(i=0; ic_peer_name, "PATH=", 5) == 0) { char *path = c->c_peer_name + 5; - if (path != '\0') { + if (path[0] != '\0') { (void)unlink(path); } }