From 551fd78d30546ddf97e4b15ad55b7a6ef21ab2ea Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 12 Sep 2001 05:55:24 +0000 Subject: null terminate the destination vector 2001-09-12 JP Rosevear * evolution-composer.c (corba_recipientlist_to_destv): null terminate the destination vector svn path=/trunk/; revision=12773 --- composer/ChangeLog | 5 +++++ composer/evolution-composer.c | 1 + 2 files changed, 6 insertions(+) diff --git a/composer/ChangeLog b/composer/ChangeLog index 6461add96f..661ce24378 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2001-09-12 JP Rosevear + + * evolution-composer.c (corba_recipientlist_to_destv): null + terminate the destination vector + 2001-09-10 Jeffrey Stedfast * evolution-composer.c (init): Don't call new_with_sig_file, it no diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c index 2562c7c70d..41844a13dc 100644 --- a/composer/evolution-composer.c +++ b/composer/evolution-composer.c @@ -66,6 +66,7 @@ corba_recipientlist_to_destv (const GNOME_Evolution_Composer_RecipientList *cl) e_destination_set_email (destv[i], recip->address); } + destv[cl->_length] = NULL; return destv; } -- cgit