/*
- * 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
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
/*
gchar *retVal = NULL;
if( address ) {
retVal = g_strdup( address );
- retVal = g_strchug( retVal );
- retVal = g_strchomp( retVal );
+ retVal = g_strstrip( retVal );
if( *retVal == '\0' ) {
g_free( retVal );
retVal = NULL;