Commit 2aff8c42 authored by Tom Lane's avatar Tom Lane

Suppress compiler warning, per buildfarm member narwhal

parent bd8a3565
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -2305,8 +2305,9 @@ CheckLDAPAuth(Port *port)
filter, port->hba->ldapserver))); filter, port->hba->ldapserver)));
else else
ereport(LOG, ereport(LOG,
(errmsg("LDAP search failed for filter \"%s\" on server \"%s\": user is not unique (%d matches)", (errmsg("LDAP search failed for filter \"%s\" on server \"%s\": user is not unique (%ld matches)",
filter, port->hba->ldapserver, ldap_count_entries(ldap, search_message)))); filter, port->hba->ldapserver,
(long) ldap_count_entries(ldap, search_message))));
pfree(filter); pfree(filter);
ldap_msgfree(search_message); ldap_msgfree(search_message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment