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
This commit is contained in:
Daniel P. Berrange 2012-08-15 21:43:01 +01:00
parent eed537c5df
commit 9ef12b6ff5

View File

@ -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
*/