Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2:Ports
mtr
mtr-0.85-crash-with-xml-option.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mtr-0.85-crash-with-xml-option.patch of Package mtr
From 4d1ff4fc1862f01a94f18576c34fb9957f53c936 Mon Sep 17 00:00:00 2001 From: "R.E. Wolff" <R.E.Wolff@BitWizard.nl> Date: Sun, 15 Mar 2015 18:38:12 +0100 Subject: [PATCH] fix for printing space field in XML. --- report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report.c b/report.c index badb765..d6752eb 100644 --- a/report.c +++ b/report.c @@ -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);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor