mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-09-09 16:49:13 +00:00
Fixed ldap on msys2.
This commit is contained in:
@@ -25,6 +25,10 @@
|
|||||||
#include <ldap.h>
|
#include <ldap.h>
|
||||||
#else
|
#else
|
||||||
#include <winldap.h>
|
#include <winldap.h>
|
||||||
|
#include <winber.h>
|
||||||
|
#ifndef LDAP_OPT_SUCCESS
|
||||||
|
#define LDAP_OPT_SUCCESS LDAP_SUCCESS
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1557,7 +1561,7 @@ ccnet_user_manager_filter_emailusers_by_emails(CcnetUserManager *manager,
|
|||||||
|
|
||||||
g_free (copy);
|
g_free (copy);
|
||||||
g_string_free (sql, TRUE);
|
g_string_free (sql, TRUE);
|
||||||
|
|
||||||
return g_list_reverse (ret);
|
return g_list_reverse (ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user