From 1b3657d09c7c17a549628500e5d430f6aa44ac8d Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 5 Nov 2002 12:04:41 +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 . --- branches/gpgme-0-3-branch/gpgme/ChangeLog | 7 +++++++ branches/gpgme-0-3-branch/gpgme/import.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/branches/gpgme-0-3-branch/gpgme/ChangeLog b/branches/gpgme-0-3-branch/gpgme/ChangeLog index 7ddcd36..a7b495f 100644 --- a/branches/gpgme-0-3-branch/gpgme/ChangeLog +++ b/branches/gpgme-0-3-branch/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-09-30 Werner Koch * keylist.c (keylist_colon_handler): Take care when printing a diff --git a/branches/gpgme-0-3-branch/gpgme/import.c b/branches/gpgme-0-3-branch/gpgme/import.c index a550f86..f522c95 100644 --- a/branches/gpgme-0-3-branch/gpgme/import.c +++ b/branches/gpgme-0-3-branch/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