提交 0327ed87 编写于 作者: P Paolo Smiraglia 提交者: Eric Blake

virConnectGetLibVersion: Avoid error message on success.

* src/libvirt.c (virConnectGetLibVersion): Don't emit error on
success.
上级 890af4ca
......@@ -1660,8 +1660,9 @@ virConnectGetLibVersion(virConnectPtr conn, unsigned long *libVer)
return ret;
}
*libVer = LIBVIR_VERSION_NUMBER;
ret = 0;
*libVer = LIBVIR_VERSION_NUMBER;
return 0;
error:
virDispatchError(conn);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册