[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26067 - monkey/trunk/pathologist/src/pathologist
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26067 - monkey/trunk/pathologist/src/pathologist |
Date: |
Mon, 11 Feb 2013 14:25:49 +0100 |
Author: teichm
Date: 2013-02-11 14:25:49 +0100 (Mon, 11 Feb 2013)
New Revision: 26067
Modified:
monkey/trunk/pathologist/src/pathologist/xml_writer.c
Log:
fixed assertion on NULL attr values
Modified: monkey/trunk/pathologist/src/pathologist/xml_writer.c
===================================================================
--- monkey/trunk/pathologist/src/pathologist/xml_writer.c 2013-02-11
12:54:34 UTC (rev 26066)
+++ monkey/trunk/pathologist/src/pathologist/xml_writer.c 2013-02-11
13:25:49 UTC (rev 26067)
@@ -105,7 +105,9 @@
fprintf(file, "<%s ", root->name);
while (NULL != tmpAttribute) {
/* Escaping special characters in attribute values */
- fprintf(file, "%s=\"%s\" ", tmpAttribute->name,
escapeSpecialCharacters(tmpAttribute->value));
+ fprintf(file, "%s=\"%s\" ", tmpAttribute->name,
+ (tmpAttribute->value) ?
+
(escapeSpecialCharacters(tmpAttribute->value)) : "");
tmpAttribute = tmpAttribute->next;
}
fprintf(file, ">\n");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26067 - monkey/trunk/pathologist/src/pathologist,
gnunet <=