]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/extended.c
silence excessive logging
[openldap] / libraries / libldap / extended.c
index 74e31281ca592d0464906b10ea07ea706d1ebc60..b0a7ed691a44329f38baf7c434b9db12d00fd5fc 100644 (file)
@@ -138,8 +138,8 @@ ldap_extended_operation_s(
         return( ld->ld_errno );
        }
 
-       *retoidp = NULL;
-       *retdatap = NULL;
+       if ( retoidp != NULL ) *retoidp = NULL;
+       if ( retdatap != NULL ) *retdatap = NULL;
 
        rc = ldap_parse_extended_result( ld, res, retoidp, retdatap, 0 );