diff options
Diffstat (limited to 'cli/src')
| -rw-r--r-- | cli/src/cli-xml-output.c | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/src/cli-xml-output.c b/cli/src/cli-xml-output.c index 9960635de8c..fcbc72d51eb 100644 --- a/cli/src/cli-xml-output.c +++ b/cli/src/cli-xml-output.c @@ -4467,8 +4467,12 @@ cli_xml_snapshot_info_per_snap (xmlTextWriterPtr writer, xmlDocPtr doc,                  ret = xmlTextWriterWriteFormatElement (writer,                                                  (xmlChar *) "description",                                                  "%s", buffer); -                XML_RET_CHECK_AND_GOTO (ret, out); +        } else { +                ret = xmlTextWriterWriteFormatElement (writer, +                                                (xmlChar *) "description", +                                                "%s", "");          } +        XML_RET_CHECK_AND_GOTO (ret, out);          snprintf (key_buffer, sizeof (key_buffer), "%s.snap-time", keyprefix);  | 
