aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/tools
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-01-07 00:43:58 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-01-07 00:43:58 +0800
commit82f7125f45269be8d2cded86d8c7fe37bd0364dc (patch)
treefbaae0c1b3a295879d0e7d21205dbe00c3d3d0cb /addressbook/tools
parent07cd05990fb01fc9021c23f0a29b3d49f6271ecd (diff)
downloadgsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar
gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar.gz
gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar.bz2
gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar.lz
gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar.xz
gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.tar.zst
gsoc2013-evolution-82f7125f45269be8d2cded86d8c7fe37bd0364dc.zip
Patch from Christian Krause <chkr@plauener.de>: Fix for bug #506772 (Not-NULL check for a string array before finding its length), handle NULL filename strings before backup/restore/check operations in the backup-restore plugin.
svn path=/trunk/; revision=34768
Diffstat (limited to 'addressbook/tools')
-rw-r--r--addressbook/tools/evolution-addressbook-export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c
index 92f05664d1..ec05a1da63 100644
--- a/addressbook/tools/evolution-addressbook-export.c
+++ b/addressbook/tools/evolution-addressbook-export.c
@@ -92,7 +92,7 @@ main (int argc, char **argv)
GNOME_PARAM_NONE);
/* Parsing Parameter */
- if (g_strv_length (opt_remaining) > 0)
+ if (opt_remaining && g_strv_length (opt_remaining) > 0)
opt_addressbook_folder_uri = g_strdup (opt_remaining[0]);
if (opt_list_folders_mode != FALSE) {