From b008274afdbe375b32a7e66dbd073e200f6f0587 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 12:57:53 +0100 Subject: Nuked almost all trailing white space. We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. --- dirmngr/ldap-url.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'dirmngr/ldap-url.c') diff --git a/dirmngr/ldap-url.c b/dirmngr/ldap-url.c index eedcc6fd2..7b27a3096 100644 --- a/dirmngr/ldap-url.c +++ b/dirmngr/ldap-url.c @@ -92,7 +92,7 @@ software is provided ``as is'' without express or implied warranty. */ #define LDAP_REALLOC realloc #define ldap_utf8_strchr strchr #define ldap_utf8_strtok(n,d,s) strtok (n,d) -#define Debug(a,b,c,d,e) +#define Debug(a,b,c,d,e) void ldap_pvt_hex_unescape( char *s ); @@ -336,7 +336,7 @@ char * ldap_charray2str( char **a, const char *sep ) s = LDAP_MALLOC ( len + 1 ); if ( s == NULL ) { - return NULL; + return NULL; } p = s; @@ -636,7 +636,7 @@ ldap_url_parse_ext( LDAP_CONST char *url_in, LDAPURLDesc **ludpp ) * anything real. */ if( (p == NULL) && (q != NULL) && ((q = strchr( q, '?')) != NULL)) { - q++; + q++; /* ? immediately followed by question */ if( *q == '?') { q++; @@ -866,7 +866,7 @@ ldap_free_urldesc( LDAPURLDesc *ludp ) if ( ludp == NULL ) { return; } - + if ( ludp->lud_scheme != NULL ) { LDAP_FREE( ludp->lud_scheme ); } @@ -929,4 +929,3 @@ ldap_pvt_hex_unescape( char *s ) *p = '\0'; } - -- cgit v1.2.3