summaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap-url.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
committerWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
commitb008274afdbe375b32a7e66dbd073e200f6f0587 (patch)
tree219e239d39cf06be3f03aa82fb572080ac163a15 /dirmngr/ldap-url.c
parentLet autogen.sh check the git config (diff)
downloadgnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.xz
gnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.zip
Nuked almost all trailing white space.post-nuke-of-trailing-ws
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.
Diffstat (limited to 'dirmngr/ldap-url.c')
-rw-r--r--dirmngr/ldap-url.c9
1 files changed, 4 insertions, 5 deletions
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';
}
-