Fossil SCM
minor doc fix before switching PCs for the weekend.
Commit
a403544f2ad2993fe4f9f58ff9d6bb4bfc08f892
Parent
f93e059f6c408c4…
1 file changed
+1
-1
+1
-1
| --- src/json.c | ||
| +++ src/json.c | ||
| @@ -1452,11 +1452,11 @@ | ||
| 1452 | 1452 | ** about to call exit(). |
| 1453 | 1453 | ** |
| 1454 | 1454 | ** !g.isHTTP then alsoOutput is ignored and all output is sent to |
| 1455 | 1455 | ** stdout immediately. |
| 1456 | 1456 | ** |
| 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 | |
| 1458 | 1458 | ** is used as-is. If it is NULL then g.zErrMsg is checked, and if that |
| 1459 | 1459 | ** is NULL then json_err_str(code) is used. |
| 1460 | 1460 | */ |
| 1461 | 1461 | void json_err( int code, char const * msg, char alsoOutput ){ |
| 1462 | 1462 | int rc = code ? code : (g.json.resultCode |
| 1463 | 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 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 |