Fossil SCM

minor doc fix before switching PCs for the weekend.

stephan 2011-10-06 15:51 UTC json-multitag-test
Commit a403544f2ad2993fe4f9f58ff9d6bb4bfc08f892
1 file changed +1 -1
+1 -1
--- src/json.c
+++ src/json.c
@@ -1452,11 +1452,11 @@
14521452
** about to call exit().
14531453
**
14541454
** !g.isHTTP then alsoOutput is ignored and all output is sent to
14551455
** stdout immediately.
14561456
**
1457
-** For generating the resultCode property: if msg is not NULL then it
1457
+** For generating the resultText property: if msg is not NULL then it
14581458
** is used as-is. If it is NULL then g.zErrMsg is checked, and if that
14591459
** is NULL then json_err_str(code) is used.
14601460
*/
14611461
void json_err( int code, char const * msg, char alsoOutput ){
14621462
int rc = code ? code : (g.json.resultCode
14631463
--- src/json.c
+++ src/json.c
@@ -1452,11 +1452,11 @@
1452 ** about to call exit().
1453 **
1454 ** !g.isHTTP then alsoOutput is ignored and all output is sent to
1455 ** stdout immediately.
1456 **
1457 ** For generating the resultCode property: if msg is not NULL then it
1458 ** is used as-is. If it is NULL then g.zErrMsg is checked, and if that
1459 ** is NULL then json_err_str(code) is used.
1460 */
1461 void json_err( int code, char const * msg, char alsoOutput ){
1462 int rc = code ? code : (g.json.resultCode
1463
--- src/json.c
+++ src/json.c
@@ -1452,11 +1452,11 @@
1452 ** about to call exit().
1453 **
1454 ** !g.isHTTP then alsoOutput is ignored and all output is sent to
1455 ** stdout immediately.
1456 **
1457 ** For generating the resultText property: if msg is not NULL then it
1458 ** is used as-is. If it is NULL then g.zErrMsg is checked, and if that
1459 ** is NULL then json_err_str(code) is used.
1460 */
1461 void json_err( int code, char const * msg, char alsoOutput ){
1462 int rc = code ? code : (g.json.resultCode
1463

Keyboard Shortcuts

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