From ab3f65a15e1b6fe5bdf488e6e879899e283ccc43 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 30 Nov 2012 15:29:34 +0100 Subject: Address couple issues found by a Coverity scan --- addressbook/gui/merging/eab-contact-compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/merging/eab-contact-compare.c') diff --git a/addressbook/gui/merging/eab-contact-compare.c b/addressbook/gui/merging/eab-contact-compare.c index 7f5dfe1564..7c30b28da8 100644 --- a/addressbook/gui/merging/eab-contact-compare.c +++ b/addressbook/gui/merging/eab-contact-compare.c @@ -679,7 +679,7 @@ use_common_book_client (EBookClient *book_client, EContact *contact = info->contact; EContactName *contact_name; GList *contact_email; - gchar *query_parts[MAX_QUERY_PARTS]; + gchar *query_parts[MAX_QUERY_PARTS + 1]; gint p = 0; gchar *contact_file_as, *qj; EBookQuery *query = NULL; -- cgit v1.2.3