aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorGilbert Fang <gilbert.fang@sun.com>2003-08-20 16:58:13 +0800
committerGilbert Fang <gilbertfang@src.gnome.org>2003-08-20 16:58:13 +0800
commit6f64df2e61a0e8addc9523e19508b6ce74a41c68 (patch)
treee282d755604c43a33b2ea528e579ecb0dc185512 /addressbook/gui
parentd5b0f9dc9daa9a31706cfa874e79f85272fb83f5 (diff)
downloadgsoc2013-evolution-6f64df2e61a0e8addc9523e19508b6ce74a41c68.tar
gsoc2013-evolution-6f64df2e61a0e8addc9523e19508b6ce74a41c68.tar.gz
gsoc2013-evolution-6f64df2e61a0e8addc9523e19508b6ce74a41c68.tar.bz2
gsoc2013-evolution-6f64df2e61a0e8addc9523e19508b6ce74a41c68.tar.lz
gsoc2013-evolution-6f64df2e61a0e8addc9523e19508b6ce74a41c68.tar.xz
gsoc2013-evolution-6f64df2e61a0e8addc9523e19508b6ce74a41c68.tar.zst
gsoc2013-evolution-6f64df2e61a0e8addc9523e19508b6ce74a41c68.zip
use memcpy to assign CORBA_char_sequence instead of strcpy. (#46706)
2003-08-20 Gilbert Fang <gilbert.fang@sun.com> * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list): use memcpy to assign CORBA_char_sequence instead of strcpy. (#46706) svn path=/trunk/; revision=22305
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-addressbook-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-util.c b/addressbook/gui/widgets/e-addressbook-util.c
index 31f6169112..1ddb6812a2 100644
--- a/addressbook/gui/widgets/e-addressbook-util.c
+++ b/addressbook/gui/widgets/e-addressbook-util.c
@@ -535,7 +535,7 @@ e_addressbook_send_card_list (GList *cards, EAddressbookDisposition disposition)
attach_data = GNOME_Evolution_Composer_AttachmentData__alloc();
attach_data->_maximum = attach_data->_length = strlen (tempstr);
attach_data->_buffer = CORBA_sequence_CORBA_char_allocbuf (attach_data->_length);
- strcpy (attach_data->_buffer, tempstr);
+ memcpy(attach_data->_buffer, tempstr, attach_data->_length);
g_free (tempstr);
GNOME_Evolution_Composer_attachData (composer_server,