diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-08-22 03:22:12 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-08-22 03:22:12 +0800 |
commit | fa883ee48a330915cb35b6d81484675b2112714b (patch) | |
tree | e72c1b7f9c449a280c417d00682302d972252a60 | |
parent | 5087ab29eee2abeea78be1dfdb987e2472d3dd1a (diff) | |
download | gsoc2013-evolution-fa883ee48a330915cb35b6d81484675b2112714b.tar.gz gsoc2013-evolution-fa883ee48a330915cb35b6d81484675b2112714b.tar.zst gsoc2013-evolution-fa883ee48a330915cb35b6d81484675b2112714b.zip |
Don't print a NULL. Crashes on Solaris
svn path=/trunk/; revision=12349
-rw-r--r-- | shell/ChangeLog | 4 | ||||
-rw-r--r-- | shell/e-shell-importer.c | 4 |
2 files changed, 6 insertions, 2 deletions
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 <iain@ximian.com> + + * e-shell-importer.c (start_import): Don't print a NULL. + 2001-08-20 Iain Holmes <iain@ximian.com> * 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; |