From: Hallvard Furuseth Date: Sat, 3 Apr 1999 03:28:17 +0000 (+0000) Subject: Add missing \n's in Debug statements X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~269 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=730d2674653d95cf04b0861f38e1725e0587097c;p=openldap Add missing \n's in Debug statements --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 2fd3116b43..01d909b16c 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -179,7 +179,7 @@ set_socket( struct sockaddr_in *addr ) if ( (tcps = socket( AF_INET, SOCK_STREAM, 0 )) == -1 ) { Debug( LDAP_DEBUG_ANY, - "daemon: socket() failed errno %d (%s)", errno, + "daemon: socket() failed errno %d (%s)\n", errno, errno > -1 && errno < sys_nerr ? sys_errlist[errno] : "unknown", 0 ); exit( 1 ); @@ -188,7 +188,7 @@ set_socket( struct sockaddr_in *addr ) #ifndef HAVE_WINSOCK if ( tcps >= dtblsize ) { Debug( LDAP_DEBUG_ANY, - "daemon: listener descriptor %d is too great", + "daemon: listener descriptor %d is too great\n", tcps, dtblsize, 0 ); exit( 1 ); } @@ -199,7 +199,7 @@ set_socket( struct sockaddr_in *addr ) (char *) &tmp, sizeof(tmp) ) == -1 ) { Debug( LDAP_DEBUG_ANY, - "slapd(%d): setsockopt() failed errno %d (%s)", + "slapd(%d): setsockopt() failed errno %d (%s)\n", tcps, errno, errno > -1 && errno < sys_nerr ? sys_errlist[errno] : "unknown" ); @@ -356,7 +356,7 @@ slapd_daemon_task( (struct sockaddr *) &from, &len )) == -1 ) { Debug( LDAP_DEBUG_ANY, - "daemon: accept(%d) failed errno %d (%s)", errno, + "daemon: accept(%d) failed errno %d (%s)\n", errno, tcps, errno >= 0 && errno < sys_nerr ? sys_errlist[errno] : "unknown"); continue; diff --git a/servers/slapd/suffixalias.c b/servers/slapd/suffixalias.c index 7fff1f6170..d06d21e4f1 100644 --- a/servers/slapd/suffixalias.c +++ b/servers/slapd/suffixalias.c @@ -57,7 +57,7 @@ char *suffixAlias (char *dn, Operation *op, Backend *be) dn = ch_malloc( diff + strlen(be->be_suffixAlias[i+1]) + 1 ); strncpy( dn, oldDN, diff ); strcpy( &dn[diff], be->be_suffixAlias[i+1] ); - Debug( LDAP_DEBUG_ARGS, "SuffixAlias: converted \"%s\" to \"%s\"", + Debug( LDAP_DEBUG_ARGS, "SuffixAlias: converted \"%s\" to \"%s\"\n", oldDN, dn, 0); free (oldDN); break;