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>.

trunk/gpgme/ChangeLog
trunk/gpgme/import.c

index da977ea871cd8426316738dcb7b9e1a2f46f9a73..d62118bfb3f18d482af6aed1ad90d000d5325ea6 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 f89321f4c0bbde07dc7717132a7dbf6294d58a59..f95086a2b4f4b58cd3cb95be0a1e46f4119b86c2 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");