2002-11-05 Marcus Brinkmann <marcus@gnu.org>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 5 Nov 2002 12:04:07 +0000 (12:04 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 5 Nov 2002 12:04:07 +0000 (12:04 +0000)
* 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 <e970095@zipi.fi.upm.es>.

gpgme/ChangeLog
gpgme/import.c

index da977ea..d62118b 100644 (file)
@@ -1,3 +1,10 @@
+2002-11-05  Marcus Brinkmann  <marcus@gnu.org>
+
+       * 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 <e970095@zipi.fi.upm.es>.
+       
 2002-10-10  Marcus Brinkmann  <marcus@g10code.de>
 
        * rungpg.h, engine-gpgsm.h: File removed.
index f89321f..f95086a 100644 (file)
@@ -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, "</");
          _gpgme_data_append_string (dh, field_name[i]);
          _gpgme_data_append_string (dh, ">\n");