提交 b04e40d6 编写于 作者: D Daniel P. Berrange

Remove bogus check for NULL in qparams breaking connections

上级 3bc5510a
Thu May 1 14:10:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/remote_internal.c: Cope with NULL from qparam_get_query
by removing unncessary check. (Dave Leskovec)
Tue Apr 29 12:32:28 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* configure.in: Remove compatability macros AC_CHECK_*_ONCE for
......
......@@ -439,13 +439,12 @@ doRemoteOpen (virConnectPtr conn,
xmlFree (uri->query);
#endif
if ((
#ifdef HAVE_XMLURI_QUERY_RAW
uri->query_raw =
uri->query_raw =
#else
uri->query =
uri->query =
#endif
qparam_get_query (vars)) == NULL) goto failed;
qparam_get_query (vars);
free_qparam_set (vars);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册