Add missing line break and fix indention level.
Reported by Cole Robinson.
---
Pushing this under the trivial rule.
src/rpc/gendispatch.pl | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl
index 027560c..c69c5a2 100755
--- a/src/rpc/gendispatch.pl
+++ b/src/rpc/gendispatch.pl
@@ -1350,11 +1350,11 @@ elsif ($opt_k) {
if ($call->{streamflag} ne "none") {
print "\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 " if (virNetClientAddStream(priv->client, netst) < 0)
{";
- print " virNetClientStreamFree(netst);\n";
- print " goto done;\n";
+ print " if (virNetClientAddStream(priv->client, netst) < 0)
{\n";
+ print " virNetClientStreamFree(netst);\n";
+ print " goto done;\n";
print " }";
print "\n";
print " st->driver = &remoteStreamDrv;\n";
--
1.7.4.1
Show replies by date