Fossil SCM

comment-after-#ifdef patch from Alexander Orefkov.

stephan 2012-06-20 16:47 trunk
Commit c5d56e49746579e811db0c63d90ff135bbb92adc
1 file changed +4 -2
+4 -2
--- src/json.c
+++ src/json.c
@@ -2317,11 +2317,12 @@
23172317
json_send_response(payload);
23182318
cson_value_free(payload);
23192319
return rc;
23202320
}
23212321
2322
-#ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */
2322
+#ifdef FOSSIL_ENABLE_JSON
2323
+/* dupe ifdef needed for mkindex */
23232324
/*
23242325
** WEBPAGE: json
23252326
**
23262327
** Pages under /json/... must be entered into JsonPageDefs.
23272328
** This function dispatches them, and is the HTTP equivalent of
@@ -2340,11 +2341,12 @@
23402341
}
23412342
json_dispatch_root_command( zCommand );
23422343
}
23432344
#endif /* FOSSIL_ENABLE_JSON for mkindex */
23442345
2345
-#ifdef FOSSIL_ENABLE_JSON /* dupe ifdef needed for mkindex */
2346
+#ifdef FOSSIL_ENABLE_JSON
2347
+/* dupe ifdef needed for mkindex */
23462348
/*
23472349
** This function dispatches json commands and is the CLI equivalent of
23482350
** json_page_top().
23492351
**
23502352
** COMMAND: json
23512353
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button