Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | c5d56e49746579e811db0c63d90ff135bbb92adc |
|---|---|
| Date: | 2012-06-20 16:47:31 |
| User: | stephan |
| Comment: | comment-after-#ifdef patch from Alexander Orefkov. |
Tags And Properties
- branch=trunk inherited from [bf1c21ba16]
- sym-trunk inherited from [bf1c21ba16]
Changes
Changes to src/json.c
2315 } 2315 } 2316 payload = json_create_response(rc, NULL, payload); 2316 payload = json_create_response(rc, NULL, payload); 2317 json_send_response(payload); 2317 json_send_response(payload); 2318 cson_value_free(payload); 2318 cson_value_free(payload); 2319 return rc; 2319 return rc; 2320 } 2320 } 2321 2321 > 2322 #ifdef FOSSIL_ENABLE_JSON 2322 #ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */ | 2323 /* dupe ifdef needed for mkindex */ 2323 /* 2324 /* 2324 ** WEBPAGE: json 2325 ** WEBPAGE: json 2325 ** 2326 ** 2326 ** Pages under /json/... must be entered into JsonPageDefs. 2327 ** Pages under /json/... must be entered into JsonPageDefs. 2327 ** This function dispatches them, and is the HTTP equivalent of 2328 ** This function dispatches them, and is the HTTP equivalent of 2328 ** json_cmd_top(). 2329 ** json_cmd_top(). 2329 */ 2330 */ ................................................................................................................................................................................ 2338 " Try one of: "); 2339 " Try one of: "); 2339 return; 2340 return; 2340 } 2341 } 2341 json_dispatch_root_command( zCommand ); 2342 json_dispatch_root_command( zCommand ); 2342 } 2343 } 2343 #endif /* FOSSIL_ENABLE_JSON for mkindex */ 2344 #endif /* FOSSIL_ENABLE_JSON for mkindex */ 2344 2345 > 2346 #ifdef FOSSIL_ENABLE_JSON 2345 #ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */ | 2347 /* dupe ifdef needed for mkindex */ 2346 /* 2348 /* 2347 ** This function dispatches json commands and is the CLI equivalent of 2349 ** This function dispatches json commands and is the CLI equivalent of 2348 ** json_page_top(). 2350 ** json_page_top(). 2349 ** 2351 ** 2350 ** COMMAND: json 2352 ** COMMAND: json 2351 ** 2353 ** 2352 ** Usage: %fossil json SUBCOMMAND ?OPTIONS? 2354 ** Usage: %fossil json SUBCOMMAND ?OPTIONS?