From 12e25f48795947ccef81bcb89dcb3c30cb66cd5e Mon Sep 17 00:00:00 2001 From: fyodor Date: Sun, 31 Dec 2006 23:36:51 +0000 Subject: [PATCH] possibly fixed a xml not-well-formed bug in service element reported by Jason Edelstein --- output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output.cc b/output.cc index 479f85dd2..8eb99fee7 100644 --- a/output.cc +++ b/output.cc @@ -193,7 +193,7 @@ static char* xml_sf_convert (const char* str) { // returns 0 for success. static int getServiceXMLBuf(struct serviceDeductions *sd, char *xmlbuf, unsigned int xmlbuflen) { - string versionxmlstring; + string versionxmlstring = ""; char rpcbuf[128]; char *xml_product = NULL, *xml_version = NULL, *xml_extrainfo = NULL; char *xml_hostname = NULL, *xml_ostype = NULL, *xml_devicetype = NULL;