From bb64d5dd741646b4e19c488c437b77297798237d Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 16 Oct 2006 14:45:04 +0000 Subject: Fixes #360815 svn path=/trunk/; revision=32897 --- plugins/groupwise-features/mail-send-options.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/groupwise-features/mail-send-options.c') diff --git a/plugins/groupwise-features/mail-send-options.c b/plugins/groupwise-features/mail-send-options.c index 0bd494bcd9..d098f9db76 100644 --- a/plugins/groupwise-features/mail-send-options.c +++ b/plugins/groupwise-features/mail-send-options.c @@ -144,16 +144,13 @@ org_gnome_compose_send_options (EPlugin *ep, EMMenuTargetWidget *t) EMsgComposer *comp = (struct _EMsgComposer *)menu.widget ; EAccount *account = NULL; char *temp = NULL; - char *url; account = e_msg_composer_get_preferred_account (comp) ; - url = g_strdup (account->transport->url) ; - temp = strstr (url, "groupwise") ; + temp = strstr (account->transport->url, "groupwise") ; if (!temp) { g_print ("Sorry send options only available for a groupwise account\n") ; return; } - g_free (temp) ; /*disply the send options dialog*/ if (!dialog) { g_print ("New dialog\n\n") ; -- cgit v1.2.3