]> git.sur5r.net Git - openldap/commitdiff
Fix ldap_get_option(,LDAP_OPT_SOCKBUF,)
authorHoward Chu <hyc@openldap.org>
Wed, 18 May 2005 19:00:30 +0000 (19:00 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 18 May 2005 19:00:30 +0000 (19:00 +0000)
libraries/libldap/options.c

index 8cf53cd3f9485d30185f74719c761add7f037984..fae53f0f21b25e59b33a9579815bdb79ae54a13b 100644 (file)
@@ -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: