X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-ui-actions.c;h=8e4185b05d1be3b57fe0ed8f4331d51b14d5d717;hp=214dfdc356fdccdc71ca23d6a9af1c7526ca2a25;hb=332e97a4104d0e22210ed131902587e9a67e2b29;hpb=1efcc4c941da1906a012f9628f6ff6c55242e0bd diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 214dfdc..8e4185b 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -3489,7 +3489,7 @@ do_create_folder_performer (gboolean canceled, /* This happens if we have selected the outbox folder as the parent */ - if (err->code == TNY_SERVICE_ERROR_UNKNOWN && + if (err && err->code == TNY_SERVICE_ERROR_UNKNOWN && TNY_IS_MERGE_FOLDER (helper->parent)) { /* Show an error and retry */ modest_platform_information_banner ((GtkWidget *) parent_window,