From fa883ee48a330915cb35b6d81484675b2112714b Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Tue, 21 Aug 2001 19:22:12 +0000 Subject: Don't print a NULL. Crashes on Solaris svn path=/trunk/; revision=12349 --- shell/ChangeLog | 4 ++++ shell/e-shell-importer.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 1e3302a877..df80470579 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2001-08-21 Iain Holmes + + * e-shell-importer.c (start_import): Don't print a NULL. + 2001-08-20 Iain Holmes * e-shell-importer.c (import_druid_finish): Do the correct thing when diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index 519222e87a..8ba73c433c 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -344,8 +344,6 @@ start_import (const char *folderpath, real_iid = g_strdup (iid); } - g_print ("Importing with: %s\n", real_iid); - if (real_iid == NULL) { char *message; @@ -356,6 +354,8 @@ start_import (const char *folderpath, return; } + g_print ("Importing with: %s\n", real_iid); + icd = g_new (ImporterComponentData, 1); icd->stop = FALSE; icd->destroyed = FALSE; -- cgit v1.2.3