From: Hans Leidekker hans@codeweavers.com
--- dlls/wldap32/option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wldap32/option.c b/dlls/wldap32/option.c index 3d10385b807..81d948ad720 100644 --- a/dlls/wldap32/option.c +++ b/dlls/wldap32/option.c @@ -120,7 +120,7 @@ ULONG CDECL ldap_get_optionA( LDAP *ld, int option, void *value ) *(char **)value = host; free( hostW ); } - return map_error( ret ); + return ret; }
case WLDAP32_LDAP_OPT_CACHE_ENABLE: @@ -375,7 +375,7 @@ ULONG CDECL ldap_set_optionA( LDAP *ld, int option, void *value )
ret = ldap_set_optionW( ld, option, &hostW ); free( hostW ); - return map_error( ret ); + return ret; }
case WLDAP32_LDAP_OPT_CACHE_ENABLE: