From 94d230c8b4c6151ab610827fafb460594ec37e9d Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 5 Nov 2002 12:04:07 +0000 Subject: [PATCH] 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 . --- gpgme/ChangeLog | 7 +++++++ gpgme/import.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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"); -- 2.26.2