Cosmetic: use g_strstrip define when stripping
[claws.git] / src / ldif.c
index 3907802528ffb1dbe9e8b97829c7fc271beb81ab..93ce80000297fb1b1c67a85419d17f67cbbe3720 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2001-2012 Match Grun and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 2001-2015 Match Grun and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 /*
@@ -440,7 +439,7 @@ static void ldif_build_items(
        }
        
        if( fullName ) {
-               g_strchug( fullName ); g_strchomp( fullName );
+               g_strstrip( fullName );
        }
 
        if( rec->listNName ) {