]> git.sur5r.net Git - openldap/commitdiff
Add missing \n's in Debug statements
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 3 Apr 1999 03:28:17 +0000 (03:28 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 3 Apr 1999 03:28:17 +0000 (03:28 +0000)
servers/slapd/daemon.c
servers/slapd/suffixalias.c

index 2fd3116b434deb29df00fcbd7bcb9b9c46ad42f5..01d909b16c8f724b35e929a6ca264564a330bc25 100644 (file)
@@ -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;
index 7fff1f617004afca743bbd51c4903c7b12d44cb6..d06d21e4f128c54980499af27d84ca85a27fcdc2 100644 (file)
@@ -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;