Ignore:
Timestamp:
Jun 1, 2009, 6:57:37 PM (13 years ago)
Author:
charles
Message:

(trunk) add a "source" argument to tr_jsonParse() so that if there's an error we can log the filename, or that it came from rpc, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/json.h

    r8561 r8585  
    1818
    1919/** @ingroup tr_benc */
    20 int tr_jsonParse( const void *     vbuf,
     20int tr_jsonParse( const char * source, /* such as a filename.  only when logging an error */
     21                  const void *     vbuf,
    2122                  size_t           len,
    2223                  struct tr_benc * setme_benc,
Note: See TracChangeset for help on using the changeset viewer.