]> git.evergreen-ils.org Git - OpenSRF.git/commit
1. Eliminated some memory leaks by replacing calls to
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 28 Sep 2009 16:03:33 +0000 (16:03 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 28 Sep 2009 16:03:33 +0000 (16:03 +0000)
commit9b93862c1822907142ffd9ca60a07e27e8d9031a
tree06322d15dda7ac2d6e602027d52ca6874a8198ab
parentf154930bf8de2125f9dc6a1e450c0036e9b49d98
1. Eliminated some memory leaks by replacing calls to
jsonObjectFindPath() (whose return values weren't getting
freed) with calls to jsonObjectGetKey().  This change will
also speed up the configuration a bit by avoiding the
cloning of objects.

2. Changed setupRouter so that it returns void instead of int.
We weren't looking at the return value anyway.  Since the
function normally enters an infinite loop, any return
represents some kind of error.

3. If the configuration file has no transport information,
issue a message before exiting (to standard error, since we
don't have a log file yet).

4. Add doxygen-style comments for documentation.

M    src/router/osrf_router_main.c

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