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 );
#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 );
}
(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" );
(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;
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;