Fossil SCM
comment-after-#ifdef patch from Alexander Orefkov.
Commit
c5d56e49746579e811db0c63d90ff135bbb92adc
Parent
4bf5cdc873df898…
1 file changed
+4
-2
+4
-2
| --- src/json.c | ||
| +++ src/json.c | ||
| @@ -2317,11 +2317,12 @@ | ||
| 2317 | 2317 | json_send_response(payload); |
| 2318 | 2318 | cson_value_free(payload); |
| 2319 | 2319 | return rc; |
| 2320 | 2320 | } |
| 2321 | 2321 | |
| 2322 | -#ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */ | |
| 2322 | +#ifdef FOSSIL_ENABLE_JSON | |
| 2323 | +/* dupe ifdef needed for mkindex */ | |
| 2323 | 2324 | /* |
| 2324 | 2325 | ** WEBPAGE: json |
| 2325 | 2326 | ** |
| 2326 | 2327 | ** Pages under /json/... must be entered into JsonPageDefs. |
| 2327 | 2328 | ** This function dispatches them, and is the HTTP equivalent of |
| @@ -2340,11 +2341,12 @@ | ||
| 2340 | 2341 | } |
| 2341 | 2342 | json_dispatch_root_command( zCommand ); |
| 2342 | 2343 | } |
| 2343 | 2344 | #endif /* FOSSIL_ENABLE_JSON for mkindex */ |
| 2344 | 2345 | |
| 2345 | -#ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */ | |
| 2346 | +#ifdef FOSSIL_ENABLE_JSON | |
| 2347 | +/* dupe ifdef needed for mkindex */ | |
| 2346 | 2348 | /* |
| 2347 | 2349 | ** This function dispatches json commands and is the CLI equivalent of |
| 2348 | 2350 | ** json_page_top(). |
| 2349 | 2351 | ** |
| 2350 | 2352 | ** COMMAND: json |
| 2351 | 2353 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2317,11 +2317,12 @@ | |
| 2317 | json_send_response(payload); |
| 2318 | cson_value_free(payload); |
| 2319 | return rc; |
| 2320 | } |
| 2321 | |
| 2322 | #ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */ |
| 2323 | /* |
| 2324 | ** WEBPAGE: json |
| 2325 | ** |
| 2326 | ** Pages under /json/... must be entered into JsonPageDefs. |
| 2327 | ** This function dispatches them, and is the HTTP equivalent of |
| @@ -2340,11 +2341,12 @@ | |
| 2340 | } |
| 2341 | json_dispatch_root_command( zCommand ); |
| 2342 | } |
| 2343 | #endif /* FOSSIL_ENABLE_JSON for mkindex */ |
| 2344 | |
| 2345 | #ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */ |
| 2346 | /* |
| 2347 | ** This function dispatches json commands and is the CLI equivalent of |
| 2348 | ** json_page_top(). |
| 2349 | ** |
| 2350 | ** COMMAND: json |
| 2351 |
| --- src/json.c | |
| +++ src/json.c | |
| @@ -2317,11 +2317,12 @@ | |
| 2317 | json_send_response(payload); |
| 2318 | cson_value_free(payload); |
| 2319 | return rc; |
| 2320 | } |
| 2321 | |
| 2322 | #ifdef FOSSIL_ENABLE_JSON |
| 2323 | /* dupe ifdef needed for mkindex */ |
| 2324 | /* |
| 2325 | ** WEBPAGE: json |
| 2326 | ** |
| 2327 | ** Pages under /json/... must be entered into JsonPageDefs. |
| 2328 | ** This function dispatches them, and is the HTTP equivalent of |
| @@ -2340,11 +2341,12 @@ | |
| 2341 | } |
| 2342 | json_dispatch_root_command( zCommand ); |
| 2343 | } |
| 2344 | #endif /* FOSSIL_ENABLE_JSON for mkindex */ |
| 2345 | |
| 2346 | #ifdef FOSSIL_ENABLE_JSON |
| 2347 | /* dupe ifdef needed for mkindex */ |
| 2348 | /* |
| 2349 | ** This function dispatches json commands and is the CLI equivalent of |
| 2350 | ** json_page_top(). |
| 2351 | ** |
| 2352 | ** COMMAND: json |
| 2353 |