Skip to content

Commit

Permalink
fix for printing space field in XML.
Browse files Browse the repository at this point in the history
  • Loading branch information
rewolff committed Mar 15, 2015
1 parent daad12f commit 4d1ff4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report.c
Expand Up @@ -294,7 +294,7 @@ void xml_close(void)
printf(" <HUB COUNT=\"%d\" HOST=\"%s\">\n", at+1, name);
for( i=0; i<MAXFLD; i++ ) {
j = fld_index[fld_active[i]];
if (j < 0) continue;
if (j <= 0) continue; // Field nr 0, " " shouldn't be printed in this method.

strcpy(name, " <%s>");
strcat(name, data_fields[j].format);
Expand Down

0 comments on commit 4d1ff4f

Please sign in to comment.