X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-ui-actions.c;h=8bde5cac7ea207646790114ba35ba81215943836;hb=refs%2Ftags%2F3.1.6;hp=d70586dc38808084d62736c12a41f94e5cfe7413;hpb=e5c4ad03681b448912adaf378dc31d77c70b9ce2;p=modest diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index d70586d..8bde5ca 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -3180,7 +3180,7 @@ modest_ui_actions_on_send (GtkWidget *widget, ModestMsgEditWindow *edit_window) } /* Get the currently-active transport account for this modest account: */ - if (strcmp (account_name, MODEST_LOCAL_FOLDERS_ACCOUNT_ID) != 0) { + if (account_name && strcmp (account_name, MODEST_LOCAL_FOLDERS_ACCOUNT_ID) != 0) { transport_account = TNY_TRANSPORT_ACCOUNT(modest_tny_account_store_get_server_account (modest_runtime_get_account_store (),