From 9b5df3b69d2ded1a81627a1619e4ce03ca906367 Mon Sep 17 00:00:00 2001
From: Jan Gorig <jgorig@redhat.com>
Date: Mon, 25 Oct 2010 12:53:16 +0200
Subject: [PATCH 1/3] Crash in XML mode
---
report.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/report.c b/report.c
index 34ea114..49dfcfb 100644
--- a/report.c
+++ b/report.c
@@ -220,7 +220,7 @@ void xml_close(void)
printf(" <HUB COUNT=%d HOST=%s>\n", at+1, name);
for( i=0; i
j = fld_index[fld_active[i]];
- if (j < 0) continue;
+ if (j <= 0) continue;
strcpy(name, " <%s>");
strcat(name, data_fields[j].format);
--
1.7.3.1