X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fxml.c;h=ff7925204017f869fca3b9f5a5169fd80c6b5951;hb=5046b052366414f09940041ad79244c320d24751;hp=c377283751395b72392fbd11b5688adcf227a08f;hpb=5c85ddd0c9dc90b43603317dcfb809bfc4d192bc;p=wimlib diff --git a/src/xml.c b/src/xml.c index c3772837..ff792520 100644 --- a/src/xml.c +++ b/src/xml.c @@ -866,7 +866,11 @@ static int clone_image_info(const struct image_info *old, struct image_info *new * * @dest_image_name and @dest_image_description are ignored if they are NULL; * otherwise, they are used to override the image name and/or image description - * from the XML data in the source WIM file. */ + * from the XML data in the source WIM file. + * + * On failure, WIMLIB_ERR_NOMEM is returned and no changes are made. Otherwise, + * 0 is returned and the WIM information at *new_wim_info_p is modified. + */ int xml_export_image(const struct wim_info *old_wim_info, int image, struct wim_info **new_wim_info_p,