]> git.sur5r.net Git - openldap/commitdiff
Fix debug output (print int as %d, not %s).
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 20 May 2003 18:13:39 +0000 (18:13 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 20 May 2003 18:13:39 +0000 (18:13 +0000)
servers/slapd/syncrepl.c

index b12ecd2cb6ff869b8fa77b20558b3ef373ea903b..e8c713a5db62c91d41d125d000e7991535165840 100644 (file)
@@ -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
                }