mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +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>
|
||||
|
||||
* qemud/qemud.c: Fix --config/-f option to libvirtd.
|
||||
|
@ -23,6 +23,8 @@
|
||||
|
||||
#define _GNU_SOURCE /* for asprintf */
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@ -326,7 +328,7 @@ doRemoteOpen (virConnectPtr conn, struct private_data *priv, const char *uri_str
|
||||
*/
|
||||
struct query_fields *vars, *var;
|
||||
char *query;
|
||||
#if HAVE_XMLURI_QUERY_RAW
|
||||
#ifdef HAVE_XMLURI_QUERY_RAW
|
||||
query = uri->query_raw;
|
||||
#else
|
||||
query = uri->query;
|
||||
@ -363,14 +365,14 @@ doRemoteOpen (virConnectPtr conn, struct private_data *priv, const char *uri_str
|
||||
#endif
|
||||
}
|
||||
|
||||
#if HAVE_XMLURI_QUERY_RAW
|
||||
#ifdef HAVE_XMLURI_QUERY_RAW
|
||||
if (uri->query_raw) xmlFree (uri->query_raw);
|
||||
#else
|
||||
if (uri->query) xmlFree (uri->query);
|
||||
#endif
|
||||
|
||||
if (query_create (vars, NULL,
|
||||
#if HAVE_XMLURI_QUERY_RAW
|
||||
#ifdef HAVE_XMLURI_QUERY_RAW
|
||||
&uri->query_raw
|
||||
#else
|
||||
&uri->query
|
||||
|
Loading…
x
Reference in New Issue
Block a user