]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
gendispatch: Don't generate long lines
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 7 May 2015 08:02:32 +0000 (10:02 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 14 May 2015 13:03:33 +0000 (15:03 +0200)
We don't allow it in normal code, why would it need to be in the
generated one.  IT also splits the line in perl code so it's readable.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/rpc/gendispatch.pl

index b642d6e9b7e04919a72d417606b88f1ca526318c..cb8e157919777ecab2e43cbcf6bd2a4ba6bb9708 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 #
-# Copyright (C) 2010-2014 Red Hat, Inc.
+# Copyright (C) 2010-2015 Red Hat, Inc.
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -429,7 +429,8 @@ elsif ($mode eq "server") {
         print "{\n";
         print "  int rv;\n";
         print "  virThreadJobSet(\"$name\");\n";
-        print "  VIR_DEBUG(\"server=%p client=%p msg=%p rerr=%p args=%p ret=%p\", server, client, msg, rerr, args, ret);\n";
+        print "  VIR_DEBUG(\"server=%p client=%p msg=%p rerr=%p args=%p ret=%p\",\n";
+        print "            server, client, msg, rerr, args, ret);\n";
         print "  rv = $name(server, client, msg, rerr";
         if ($argtype ne "void") {
             print ", args";