diff options
author | Tor Lillqvist <tml@novell.com> | 2005-12-18 02:35:37 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-12-18 02:35:37 +0800 |
commit | df6c612eaa2e2f1b1b691d1f56d7079c9700a826 (patch) | |
tree | 43b9e2789ee71d340483f87b4c26c9a639dab08a /mail/importers/netscape-importer.c | |
parent | 20085e766ba79c4ecf7da1ba26dc6e09e2c7450d (diff) | |
download | gsoc2013-evolution-df6c612eaa2e2f1b1b691d1f56d7079c9700a826.tar gsoc2013-evolution-df6c612eaa2e2f1b1b691d1f56d7079c9700a826.tar.gz gsoc2013-evolution-df6c612eaa2e2f1b1b691d1f56d7079c9700a826.tar.bz2 gsoc2013-evolution-df6c612eaa2e2f1b1b691d1f56d7079c9700a826.tar.lz gsoc2013-evolution-df6c612eaa2e2f1b1b691d1f56d7079c9700a826.tar.xz gsoc2013-evolution-df6c612eaa2e2f1b1b691d1f56d7079c9700a826.tar.zst gsoc2013-evolution-df6c612eaa2e2f1b1b691d1f56d7079c9700a826.zip |
importers/elm-importer.c importers/evolution-mbox-importer.c
2005-12-17 Tor Lillqvist <tml@novell.com>
* importers/elm-importer.c
* importers/evolution-mbox-importer.c
* importers/evolution-outlook-importer.c
* importers/mail-importer.c
* importers/netscape-importer.c
* importers/pine-importer.c: Use GLib API when
applicable.
svn path=/trunk/; revision=30843
Diffstat (limited to 'mail/importers/netscape-importer.c')
-rw-r--r-- | mail/importers/netscape-importer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/importers/netscape-importer.c b/mail/importers/netscape-importer.c index d36f98ce73..518ca2fd4c 100644 --- a/mail/importers/netscape-importer.c +++ b/mail/importers/netscape-importer.c @@ -36,6 +36,7 @@ #include <dirent.h> #include <glib.h> +#include <glib/gstdio.h> #include <gnome.h> #include <gconf/gconf.h> @@ -1652,7 +1653,7 @@ is_dir_empty (const char *path) } fullpath = g_build_filename(path, contents->d_name, NULL); - if (lstat (fullpath, &buf) == -1) { + if (g_lstat (fullpath, &buf) == -1) { g_free(fullpath); continue; } |