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

Erik Skultety posted 4 patches 5 years ago
[libvirt] [PATCH v2 1/4] rpc: gendispatch: Fix a couple of places adding trailing spaces
Posted by Erik Skultety 5 years ago
Signed-off-by: Erik Skultety <eskultet@redhat.com>
---
 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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH v2 1/4] rpc: gendispatch: Fix a couple of places adding trailing spaces
Posted by Daniel P. Berrangé 5 years ago
On Thu, Nov 21, 2019 at 09:58:29AM +0100, Erik Skultety wrote:
> Signed-off-by: Erik Skultety <eskultet@redhat.com>
> ---
>  src/rpc/gendispatch.pl | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

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