[PATCH 1/3] rpc: gendispatch: Fix a couple of places adding trailing spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
---
 src/rpc/gendispatch.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl
index 7c868191d1..8656c8f205 100755
--- a/src/rpc/gendispatch.pl
+++ b/src/rpc/gendispatch.pl
@@ -1062,7 +1062,7 @@ elsif ($mode eq "server") {
         print "\n";
 
         print "    $conn_type $conn_var = $conn_method(client);\n";
-        print "    if (!$conn_var) \n";
+        print "    if (!$conn_var)\n";
         print "        goto cleanup;\n";
         print "\n";
 
@@ -1144,7 +1144,7 @@ elsif ($mode eq "server") {
             print "\n";
         } else {
             if ($modern_ret_as_list) {
-                print "    if ((nresults = \n";
+                print "    if ((nresults =\n";
                 my $indln = "            $prefix$call->{ProcName}(";
                 print $indln;
                 print join(",\n" . ' ' x (length $indln), @args_list);
-- 
2.23.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux