diff --git a/dlls/wldap32/misc.c b/dlls/wldap32/misc.c index 69c764c5109..b943f38937d 100644 --- a/dlls/wldap32/misc.c +++ b/dlls/wldap32/misc.c @@ -55,7 +55,7 @@ void ldap_memfreeW( PWCHAR block ) ULONG WLDAP32_ldap_result( WLDAP32_LDAP *ld, ULONG msgid, ULONG all, struct l_timeval *timeout, WLDAP32_LDAPMessage **res ) { - ULONG ret = LDAP_NOT_SUPPORTED; + ULONG ret = WLDAP32_LDAP_NOT_SUPPORTED; #ifdef HAVE_LDAP TRACE( "(%p, 0x%08lx, 0x%08lx, %p, %p)\n", ld, msgid, all, timeout, res );