From: Luke Howard Date: Sat, 10 Jun 2006 07:37:06 +0000 (+0000) Subject: Fix typo when comparing local sock name X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~158 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=60b9c90fadfa8b854886b6c26d47fd6b5b8cbcb4;p=openldap Fix typo when comparing local sock name --- diff --git a/servers/slapd/slapi/slapi_pblock.c b/servers/slapd/slapi/slapi_pblock.c index d27a32e1c2..1b00801742 100644 --- a/servers/slapd/slapi/slapi_pblock.c +++ b/servers/slapd/slapi/slapi_pblock.c @@ -590,14 +590,14 @@ pblock_get( Slapi_PBlock *pb, int param, void **value ) break; case SLAPI_CONN_SERVERIP: PBLOCK_ASSERT_CONN( pb ); - if ( strncmp( pb->pb_conn->c_peer_name.bv_val, "IP=", 3 ) == 0 ) + if ( strncmp( pb->pb_conn->c_sock_name.bv_val, "IP=", 3 ) == 0 ) *((char **)value) = &pb->pb_conn->c_sock_name.bv_val[3]; else *value = NULL; break; case SLAPI_X_CONN_SERVERPATH: PBLOCK_ASSERT_CONN( pb ); - if ( strncmp( pb->pb_conn->c_peer_name.bv_val, "PATH=", 3 ) == 0 ) + if ( strncmp( pb->pb_conn->c_sock_name.bv_val, "PATH=", 3 ) == 0 ) *((char **)value) = &pb->pb_conn->c_sock_name.bv_val[5]; else *value = NULL;