From: Marcus Brinkmann Date: Tue, 5 Nov 2002 12:04:07 +0000 (+0000) Subject: 2002-11-05 Marcus Brinkmann X-Git-Tag: gpgme-0-4-0~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=94d230c8b4c6151ab610827fafb460594ec37e9d;p=gpgme.git 2002-11-05 Marcus Brinkmann * import.c (append_xml_impinfo): Use _gpgme_data_append_string_for_xml rather than _gpgme_data_append_string for the field content. Submitted by Miguel Coca . --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index da977ea..d62118b 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,10 @@ +2002-11-05 Marcus Brinkmann + + * import.c (append_xml_impinfo): Use + _gpgme_data_append_string_for_xml rather than + _gpgme_data_append_string for the field content. + Submitted by Miguel Coca . + 2002-10-10 Marcus Brinkmann * rungpg.h, engine-gpgsm.h: File removed. diff --git a/gpgme/import.c b/gpgme/import.c index f89321f..f95086a 100644 --- a/gpgme/import.c +++ b/gpgme/import.c @@ -127,7 +127,7 @@ append_xml_impinfo (GpgmeData *rdh, GpgmeStatusCode code, char *args) _gpgme_data_append_string (dh, " <"); _gpgme_data_append_string (dh, field_name[i]); _gpgme_data_append_string (dh, ">"); - _gpgme_data_append_string (dh, field[i]); + _gpgme_data_append_string_for_xml (dh, field[i]); _gpgme_data_append_string (dh, "\n");