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

branches/gpgme-0-3-branch/gpgme/ChangeLog
branches/gpgme-0-3-branch/gpgme/import.c

index 7ddcd365db363bf6d2d4a4e16e596c42d48a916d..a7b495f0a5fb35e2c517cd101bb88a8cd0415af7 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-09-30  Werner Koch  <wk@gnupg.org>
 
        * keylist.c (keylist_colon_handler): Take care when printing a
index a550f864b24e221f87603c4491de9c6c9e8fd25c..f522c957f6197d0f9c065fe6dd71e11b1dc993b4 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");