From fb1227a54747cd827389d9f4ba646eaceb26fcfa Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 30 Apr 1999 06:39:19 +0000 Subject: [PATCH] Remove superfluous \ at end of lines outside macros; DEC cc doesn't like them. --- contrib/ldaptcl/neoXldap.c | 4 ++-- libraries/libldap/util-int.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/ldaptcl/neoXldap.c b/contrib/ldaptcl/neoXldap.c index c76c77f1bd..e8d386549e 100644 --- a/contrib/ldaptcl/neoXldap.c +++ b/contrib/ldaptcl/neoXldap.c @@ -23,7 +23,7 @@ * Requests for permission may be sent to NeoSoft Inc, 1770 St. James Place, * Suite 500, Houston, TX, 77056. * - * $Id: neoXldap.c,v 1.1 1999/02/10 22:56:49 kunkee Exp $ + * $Id: neoXldap.c,v 1.2 1999/04/29 22:14:57 hallvard Exp $ * */ @@ -555,7 +555,7 @@ NeoX_LdapTargetObjCmd (clientData, interp, objc, objv) return TCL_ERROR; } - valPtrs = mod->mod_vals.modv_strvals = \ + valPtrs = mod->mod_vals.modv_strvals = (char **)ckalloc (sizeof (char *) * (valuesObjc + 1)); valPtrs[valuesObjc] = (char *)NULL; diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index eb0517d9bf..fb6e894ee7 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -114,15 +114,15 @@ int ldap_pvt_gethostbyname_a( return r; #if (GETHOSTBYNAME_R_NARGS < 6) - r = ((*result=gethostbyname_r( name, resbuf, *buf,\ - buflen, herrno_ptr ))== NULL) ?\ + r = ((*result=gethostbyname_r( name, resbuf, *buf, + buflen, herrno_ptr ))== NULL) ? -1 : 0; #else r = gethostbyname_r( name, resbuf, *buf, buflen, result, herrno_ptr ); #endif - Debug( LDAP_DEBUG_TRACE, "ldap_pvt_gethostbyname_a: host=%s, r=%d\n",\ + Debug( LDAP_DEBUG_TRACE, "ldap_pvt_gethostbyname_a: host=%s, r=%d\n", name, r, 0 ); #ifdef NETDB_INTERNAL @@ -195,7 +195,7 @@ int ldap_pvt_gethostbyaddr_a( #if (GETHOSTBYADDR_R_NARGS < 8) r = ((*result=gethostbyaddr_r( addr, len, type, resbuf, *buf, buflen, - herrno_ptr )) == NULL) ?\ + herrno_ptr )) == NULL) ? -1 : 0; #else r = gethostbyaddr_r( addr, len, type, -- 2.39.5