diff options
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r-- | mail/mail-account-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index ad6bb6747d..833e6d9c3a 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1888,7 +1888,7 @@ save_service (MailAccountGuiService *gsvc, GHashTable *extra_config, if (CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_USER)) { str = gtk_entry_get_text (gsvc->username); if (str && *str) - url->user = g_strdup (str); + url->user = g_strstrip (g_strdup (str)); } if (CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_AUTH) && |