]> xenbits.xensource.com Git - xenclient/toolstack.git/commitdiff
slightly more correct param-less conversion
authorPrashanth Mundkur <prashanth.mundkur@citrix.com>
Fri, 15 May 2009 00:38:19 +0000 (17:38 -0700)
committerPrashanth Mundkur <prashanth.mundkur@citrix.com>
Fri, 15 May 2009 00:38:19 +0000 (17:38 -0700)
gen/rpc/codegen.ml

index 4e92f6c22869542c0e12ea66b8c82e5047bcc83d..07f0d79b61b2e992f6e42ba451f88a36a2747bea 100644 (file)
@@ -208,7 +208,7 @@ module Client = struct
                        (match args with
                         | [] ->
                                fprintf ff "@,@[<v 8>let jrpc_%s () =@," rpc.rpc_request.request_name;
-                               "Json.Null"
+                               ""
                         | _  ->
                                fprintf ff "@,@[<v 8>let jrpc_%s %s =@," rpc.rpc_request.request_name (String.concat " " (List.map name_of_var avlist));
                                List.iter2 (fun p (a, v) ->