From d9b09ecc1f68b5c3ac1bce16cc8a34fa99a4463b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 18 May 2005 19:00:30 +0000 Subject: [PATCH] Fix ldap_get_option(,LDAP_OPT_SOCKBUF,) --- libraries/libldap/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/options.c b/libraries/libldap/options.c index 8cf53cd3f9..fae53f0f21 100644 --- a/libraries/libldap/options.c +++ b/libraries/libldap/options.c @@ -166,7 +166,7 @@ ldap_get_option( case LDAP_OPT_SOCKBUF: if( ld == NULL ) break; - outvalue = ld->ld_sb; + *(Sockbuf **)outvalue = ld->ld_sb; return LDAP_OPT_SUCCESS; case LDAP_OPT_TIMEOUT: -- 2.39.5