diff options
author | Werner Koch <wk@gnupg.org> | 2011-02-04 12:57:53 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-02-04 12:57:53 +0100 |
commit | b008274afdbe375b32a7e66dbd073e200f6f0587 (patch) | |
tree | 219e239d39cf06be3f03aa82fb572080ac163a15 /common/strlist.c | |
parent | Let autogen.sh check the git config (diff) | |
download | gnupg2-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 'common/strlist.c')
-rw-r--r-- | common/strlist.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/common/strlist.c b/common/strlist.c index b31e6213a..93a58d5a0 100644 --- a/common/strlist.c +++ b/common/strlist.c @@ -63,7 +63,7 @@ strlist_t add_to_strlist_try (strlist_t *list, const char *string) { strlist_t sl; - + sl = jnlib_malloc (sizeof *sl + strlen (string)); if (sl) { @@ -84,10 +84,10 @@ strlist_t add_to_strlist2( strlist_t *list, const char *string, int is_utf8 ) { strlist_t sl; - + if (is_utf8) sl = add_to_strlist( list, string ); - else + else { char *p = native_to_utf8( string ); sl = add_to_strlist( list, p ); @@ -125,7 +125,7 @@ strlist_t append_to_strlist2( strlist_t *list, const char *string, int is_utf8 ) { strlist_t sl; - + if( is_utf8 ) sl = append_to_strlist( list, string ); else @@ -201,4 +201,3 @@ strlist_pop (strlist_t *list) return str; } - |