]> git.evergreen-ils.org Git - OpenSRF.git/commit
1. Fixed a bug whereby the display of request results was not showing up
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 10 Nov 2009 22:50:14 +0000 (22:50 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 10 Nov 2009 22:50:14 +0000 (22:50 +0000)
commit19b294a1a6c9641100b8e7bab6d4d385d2ddda73
tree6ee0f2ea90fa09ee3f93f71a35168be1fdc3fb85
parent20abc9766bd74a0804535259bd47bd5c39f930f0
1. Fixed a bug whereby the display of request results was not showing up
when pretty-printing was turned off.  We were calling jsonObjectGetString()
when we should have been calling jsonObjectToJSON(), and thereby getting
NULL instead of a usable string, for any but the most trivial of results.

Also: applied some minor refinements to nearby code.

2. In handle_request(): eliminated a couple of superfluous variables.

3. Corrected an erroneous statement in the help message.  Request output
passes through less when raw_print is false, not when it's true.

4. Tidied up the white space here and there.

M    src/srfsh/srfsh.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1848 9efc2488-bf62-4759-914b-345cdb29e865
src/srfsh/srfsh.c