Ignore:
Timestamp:
Dec 15, 2012, 12:01:59 AM (9 years ago)
Author:
jordan
Message:

(trunk, libT) faster JSON parsing for tr_variant. This mostly helps the Qt client, which makes heavy use of the JSON-based RPC calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/remote.c

    r13667 r13672  
    564564                isNum = false;
    565565        if (isNum || isList)
    566             tr_rpc_parse_list_str (tr_variantDictAdd (args, "ids"), id, strlen (id));
     566            tr_rpc_parse_list_str (tr_variantDictAdd (args, "ids", 3), id, strlen (id));
    567567        else
    568568            tr_variantDictAddStr (args, "ids", id); /* it's a torrent sha hash */
Note: See TracChangeset for help on using the changeset viewer.