mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Suppress compiler warning, per buildfarm member narwhal
This commit is contained in:
parent
bd8a35655b
commit
2aff8c422e
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.188 2009/12/12 21:35:21 mha Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.189 2009/12/31 22:11:10 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -2305,8 +2305,9 @@ CheckLDAPAuth(Port *port)
|
||||
filter, port->hba->ldapserver)));
|
||||
else
|
||||
ereport(LOG,
|
||||
(errmsg("LDAP search failed for filter \"%s\" on server \"%s\": user is not unique (%d matches)",
|
||||
filter, port->hba->ldapserver, ldap_count_entries(ldap, search_message))));
|
||||
(errmsg("LDAP search failed for filter \"%s\" on server \"%s\": user is not unique (%ld matches)",
|
||||
filter, port->hba->ldapserver,
|
||||
(long) ldap_count_entries(ldap, search_message))));
|
||||
|
||||
pfree(filter);
|
||||
ldap_msgfree(search_message);
|
||||
|
Loading…
Reference in New Issue
Block a user