1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00

rpc: Fix whitespace problem in generated code

Add missing line break and fix indention level.

Reported by Cole Robinson.
This commit is contained in:
Matthias Bolte 2011-07-09 00:10:04 +02:00
parent de2aa6cfc7
commit 6ca8d68d70

View File

@ -1350,11 +1350,11 @@ elsif ($opt_k) {
if ($call->{streamflag} ne "none") { if ($call->{streamflag} ne "none") {
print "\n"; print "\n";
print " if (!(netst = virNetClientStreamNew(priv->remoteProgram, REMOTE_PROC_$call->{UC_NAME}, priv->counter)))\n"; print " if (!(netst = virNetClientStreamNew(priv->remoteProgram, REMOTE_PROC_$call->{UC_NAME}, priv->counter)))\n";
print " goto done;\n"; print " goto done;\n";
print "\n"; print "\n";
print " if (virNetClientAddStream(priv->client, netst) < 0) {"; print " if (virNetClientAddStream(priv->client, netst) < 0) {\n";
print " virNetClientStreamFree(netst);\n"; print " virNetClientStreamFree(netst);\n";
print " goto done;\n"; print " goto done;\n";
print " }"; print " }";
print "\n"; print "\n";
print " st->driver = &remoteStreamDrv;\n"; print " st->driver = &remoteStreamDrv;\n";