From: Hallvard Furuseth Date: Tue, 20 May 2003 18:13:39 +0000 (+0000) Subject: Fix debug output (print int as %d, not %s). X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~101 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3db60ba479a930fbef77d4f35970a4b38a713eb9;p=openldap Fix debug output (print int as %d, not %s). --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index b12ecd2cb6..e8c713a5db 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -221,11 +221,11 @@ do_syncrepl( if ( ld == NULL ) { #ifdef NEW_LOGGING LDAP_LOG( OPERATION, ERR, "do_syncrepl: " - "ldap_init failed (%s:%s)\n", + "ldap_init failed (%s:%d)\n", si->mastername, si->masterport, 0 ); #else Debug( LDAP_DEBUG_ANY, "do_syncrepl: " - "ldap_init failed (%s:%s)\n", + "ldap_init failed (%s:%d)\n", si->mastername, si->masterport, 0 ); #endif }