]> git.sur5r.net Git - openldap/commitdiff
log unknown message type
authorPierangelo Masarati <ando@openldap.org>
Thu, 13 Sep 2007 17:54:15 +0000 (17:54 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 13 Sep 2007 17:54:15 +0000 (17:54 +0000)
servers/slapd/syncrepl.c

index 7ed492ef29116df46b596c01d3346d6b9e0139de..d41caa5200d05a524f454ea1d9e47f5e63466889 100644 (file)
@@ -1064,7 +1064,9 @@ do_syncrep2(
 
                        default:
                                Debug( LDAP_DEBUG_ANY, "do_syncrep2: %s "
-                                       "unknown message\n", si->si_ridtxt, 0, 0 );
+                                       "unknown message (0x%02lx)\n",
+                                       si->si_ridtxt,
+                                       (unsigned long)ldap_msgtype( msg ), 0 );
                                break;
 
                        }