rpc: gendispatch: Fix a couple of places adding trailing spaces

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Erik Skultety 2019-11-18 10:30:20 +01:00
parent 5e067ba4e1
commit bf2988235c
1 changed files with 2 additions and 2 deletions

View File

@ -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);