Remove bogus check for NULL in qparams breaking connections

This commit is contained in:
Daniel P. Berrange 2008-05-01 18:11:03 +00:00
parent 3bc5510a63
commit b04e40d6a3
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);