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. --- common/strlist.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'common/strlist.c') 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; } - -- cgit v1.2.3