From: Marcus Brinkmann Date: Tue, 5 Nov 2002 12:04:41 +0000 (+0000) Subject: 2002-11-05 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~775 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b3657d09c7c17a549628500e5d430f6aa44ac8d;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/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");