aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/conduit
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/conduit')
-rw-r--r--addressbook/conduit/address-conduit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index 67bba341e7..172d45ee30 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -184,7 +184,7 @@ e_pilot_add_category_if_possible(gchar *cat_to_add, struct CategoryAppInfo *cate
retval = i;
if (cat_to_add_len > 15) {
- gchar tmpstr[16];
+ gchar tmpstr[17];
strncpy(tmpstr, cat_to_add,16);
tmpstr[16] = '\0';
/* Have to truncate the category name */