Fix a bug whereby, if there was only one <service> entry for the
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 22 Jun 2009 05:28:34 +0000 (05:28 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 22 Jun 2009 05:28:34 +0000 (05:28 +0000)
commitf9323e11c9416db39637df680202ff70a627858a
tree53e34e7b41920d647f496b554a54d26c16d93d18
parentfec1ba71a9775c1038ac56f31034d690de87280f
Fix a bug whereby, if there was only one <service> entry for the
public router in opensrf_core.xml, the service would fail to register.

Root cause: The code was expecting to see a list of services in a
JSON_ARRAY.  But if there's only one service, it's represented as a
JSON_STRING.

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