From 3b5a5b792c24a5ba90505225fc3ef9158494cb3e Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 5 Mar 1999 01:21:44 +0000 Subject: [PATCH] Remove spurious backslash-newlines --- libraries/libldap/modrdn.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/libraries/libldap/modrdn.c b/libraries/libldap/modrdn.c index 9c7edb9909..9028e33fc0 100644 --- a/libraries/libldap/modrdn.c +++ b/libraries/libldap/modrdn.c @@ -43,10 +43,10 @@ */ int -ldap_rename2( LDAP *ld,\ - char *dn,\ - char *newrdn,\ - int deleteoldrdn,\ +ldap_rename2( LDAP *ld, + char *dn, + char *newrdn, + int deleteoldrdn, char *newSuperior ) { BerElement *ber; @@ -70,14 +70,14 @@ ldap_rename2( LDAP *ld,\ if( newSuperior != NULL ) { - if ( ber_printf( ber, "{it{ssbts}}",\ - ++ld->ld_msgid,\ - LDAP_REQ_MODRDN,\ - dn,\ - newrdn,\ - deleteoldrdn,\ - LDAP_TAG_NEWSUPERIOR,\ - newSuperior )\ + if ( ber_printf( ber, "{it{ssbts}}", + ++ld->ld_msgid, + LDAP_REQ_MODRDN, + dn, + newrdn, + deleteoldrdn, + LDAP_TAG_NEWSUPERIOR, + newSuperior ) == -1 ) { ld->ld_errno = LDAP_ENCODING_ERROR; @@ -150,22 +150,22 @@ ldap_modrdn( LDAP *ld, char *dn, char *newrdn ) } int -ldap_rename2_s( LDAP *ld, char *dn, char *newrdn, int deleteoldrdn,\ +ldap_rename2_s( LDAP *ld, char *dn, char *newrdn, int deleteoldrdn, char *newSuperior ) { int msgid; LDAPMessage *res; - if ( (msgid = ldap_rename2( ld,\ - dn,\ - newrdn,\ - deleteoldrdn,\ - newSuperior ))\ + if ( (msgid = ldap_rename2( ld, + dn, + newrdn, + deleteoldrdn, + newSuperior )) == -1 ) return( ld->ld_errno ); - if ( ldap_result( ld, msgid, 1, (struct timeval *) NULL, &res )\ + if ( ldap_result( ld, msgid, 1, (struct timeval *) NULL, &res ) == -1 ) return( ld->ld_errno ); -- 2.39.5