1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-12 08:26:33 +00:00

Use a header file constant for xmloutputversion.

This commit is contained in:
david
2012-05-05 18:02:37 +00:00
parent 0c8d6c9af1
commit 56b7063aa9
2 changed files with 3 additions and 1 deletions

View File

@@ -1638,7 +1638,7 @@ int nmap_main(int argc, char *argv[]) {
xml_attribute("start", "%lu", (unsigned long) timep);
xml_attribute("startstr", "%s", mytime);
xml_attribute("version", "%s", NMAP_VERSION);
xml_attribute("xmloutputversion", "1.04");
xml_attribute("xmloutputversion", NMAP_XMLOUTPUTVERSION);
xml_close_start_tag();
xml_newline();