mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
util: xml: Adjust documentation of virXMLPropString
All callers treat NULL as if the string is not present in the XML. Adjust the description so that it's implied that it's not an error and thus also no error reporting is expected. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
fe54d2a94f
commit
4bab4de9b9
@ -443,7 +443,8 @@ virXMLCheckIllegalChars(const char *nodeName,
|
||||
*
|
||||
* Convenience function to return copy of an attribute value of a XML node.
|
||||
*
|
||||
* Returns the property (attribute) value as string or NULL in case of failure.
|
||||
* Returns the property (attribute) value as string or NULL if the attribute
|
||||
* is not present (no error is reported).
|
||||
* The caller is responsible for freeing the returned buffer.
|
||||
*/
|
||||
char *
|
||||
|
Loading…
Reference in New Issue
Block a user