diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-provider.c | 7 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-provider.c b/camel/providers/imap/camel-imap-provider.c index b7e92a7f73..abda8f89a0 100644 --- a/camel/providers/imap/camel-imap-provider.c +++ b/camel/providers/imap/camel-imap-provider.c @@ -39,6 +39,13 @@ static gint check_equal (char *s1, char *s2); static gint imap_url_equal (gconstpointer a, gconstpointer b); CamelProviderConfEntry imap_conf_entries[] = { + { CAMEL_PROVIDER_CONF_SECTION_START, "cmdsection", NULL, + N_("Connection to Server") }, + { CAMEL_PROVIDER_CONF_CHECKBOX, "use_command", NULL, + N_("Use custom command to connect to server"), "0" }, + { CAMEL_PROVIDER_CONF_ENTRY, "command", "use_command", + N_("Command:"), "ssh -C -l %u %h exec /usr/sbin/imapd" }, + { CAMEL_PROVIDER_CONF_SECTION_END }, { CAMEL_PROVIDER_CONF_SECTION_START, "mailcheck", NULL, N_("Checking for new mail") }, { CAMEL_PROVIDER_CONF_CHECKBOX, "check_all", NULL, diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index 46c30ab7a0..07152eef87 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -774,7 +774,7 @@ connect_to_server_process (CamelService *service, const char *cmd, CamelExceptio /* Now do %h, %u, etc. substitution in cmd */ buf = cmd_copy = g_strdup(cmd); - full_cmd = ""; + full_cmd = g_strdup(""); for(;;) { char *pc; |