]> granicus.if.org Git - transmission/commitdiff
* fix minor error in the rpc spec's examples
authorCharles Kerr <charles@transmissionbt.com>
Sun, 27 Jul 2008 14:31:18 +0000 (14:31 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Sun, 27 Jul 2008 14:31:18 +0000 (14:31 +0000)
* refresh the display more often in the cli client

cli/cli.c
doc/rpc-spec.txt

index 88078c0a5db37037f88b49897104df4407cd65a5..d35e95180939fe0a7b53a8ef6f814a00278e7b0f 100644 (file)
--- a/cli/cli.c
+++ b/cli/cli.c
@@ -389,7 +389,7 @@ main( int argc, char ** argv )
         char line[LINEWIDTH];
         const tr_stat * st;
 
-        tr_wait( 1000 );
+        tr_wait( 200 );
 
         if( gotsig ) {
             gotsig = 0;
index 1d5dc511921fc198f0616d6fd88d526a4a5d30a1..60ea68746b2b9c156c36e8247b9caae6879f1503 100644 (file)
       {
          "arguments": {
              "fields": 2080,
-             "fields": [ "name", "totalSize" ],
+             "fields": [ "id", "name", "totalSize" ],
              "sort-method": "name"
          }
          "method": "torrent-get",