From: Daniel P. Berrange Date: Wed, 15 Aug 2012 20:43:01 +0000 (+0100) Subject: Fix WIN32 conditional for disabling console command X-Git-Tag: v0.10.0-rc1~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ef12b6ff5e7524b5a27a5c35e4f086e633914b0;p=thirdparty%2Flibvirt.git Fix WIN32 conditional for disabling console command The '#endif' for a WIN32 conditional was placed one function too high, leaving the impl of the console command enabled and referencing functions that were disabled --- diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 69e0133450..676c002e68 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -1662,7 +1662,6 @@ cmdRunConsole(vshControl *ctl, virDomainPtr dom, return ret; } -#endif /* WIN32 */ static bool cmdConsole(vshControl *ctl, const vshCmd *cmd) @@ -1696,6 +1695,7 @@ cleanup: virDomainFree(dom); return ret; } +#endif /* WIN32 */ /* "domif-setlink" command */