mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-13 11:15:08 +00:00
Tue Aug 7 15:28:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/remote_internal.c: Fix build bug introduced by earlier patch.
This commit is contained in:
parent
c47b4c8295
commit
754419ec10
@ -1,3 +1,8 @@
|
|||||||
|
Tue Aug 7 15:28:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
|
* src/remote_internal.c: Fix build bug introduced by earlier
|
||||||
|
patch.
|
||||||
|
|
||||||
Tue Aug 7 14:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
Tue Aug 7 14:18:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
* qemud/qemud.c: Fix --config/-f option to libvirtd.
|
* qemud/qemud.c: Fix --config/-f option to libvirtd.
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
#define _GNU_SOURCE /* for asprintf */
|
#define _GNU_SOURCE /* for asprintf */
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -326,7 +328,7 @@ doRemoteOpen (virConnectPtr conn, struct private_data *priv, const char *uri_str
|
|||||||
*/
|
*/
|
||||||
struct query_fields *vars, *var;
|
struct query_fields *vars, *var;
|
||||||
char *query;
|
char *query;
|
||||||
#if HAVE_XMLURI_QUERY_RAW
|
#ifdef HAVE_XMLURI_QUERY_RAW
|
||||||
query = uri->query_raw;
|
query = uri->query_raw;
|
||||||
#else
|
#else
|
||||||
query = uri->query;
|
query = uri->query;
|
||||||
@ -363,14 +365,14 @@ doRemoteOpen (virConnectPtr conn, struct private_data *priv, const char *uri_str
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_XMLURI_QUERY_RAW
|
#ifdef HAVE_XMLURI_QUERY_RAW
|
||||||
if (uri->query_raw) xmlFree (uri->query_raw);
|
if (uri->query_raw) xmlFree (uri->query_raw);
|
||||||
#else
|
#else
|
||||||
if (uri->query) xmlFree (uri->query);
|
if (uri->query) xmlFree (uri->query);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (query_create (vars, NULL,
|
if (query_create (vars, NULL,
|
||||||
#if HAVE_XMLURI_QUERY_RAW
|
#ifdef HAVE_XMLURI_QUERY_RAW
|
||||||
&uri->query_raw
|
&uri->query_raw
|
||||||
#else
|
#else
|
||||||
&uri->query
|
&uri->query
|
||||||
|
Loading…
Reference in New Issue
Block a user