• M
    xenapi: Improve error reporting in xenapiOpen once again · 484460ec
    Matthias Bolte 提交于
    privP->session->error_description is a list and in order to get the
    complete error message all parts of the list should be concatenated.
    xenapiSessionErrorHandler does this when its third parameter is NULL.
    The current code discards all but the first part of the error message
    resulting in a potentially incomplete error message.
    
    This partly reverts 006be75e, that tried to avoid reporting
    a (null) in the error message. The actual problem is more general in
    returnErrorFromSession that might return NULL if there is no error.
    
    Make sure that returnErrorFromSession return non-NULL always. Also
    don't skip the last error message part.
    484460ec
xenapi_driver.c 61.6 KB