Eliminated _socket_route_data_id() as a separate function, incorporating
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Sun, 18 Oct 2009 02:00:18 +0000 (02:00 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Sun, 18 Oct 2009 02:00:18 +0000 (02:00 +0000)
commitbcbf919db3db3162221025136a6cf02f67d5c514
tree69621d68826ca8c952d329c005d72ea4b7307363
parent15129d049ad3dc670fdca781efb5a80c48b462c8
Eliminated _socket_route_data_id() as a separate function, incorporating
its contents into the end of socket_wait().

Rationale: _socket_route_data_id() was called in only a single place.
It was little more than a mildly obfuscated if test, branching to two
very different functions.  Having this code fragment in a separate function
just made the logic harder to follow.

Also: added a couple more doxygen-style comments.

M    src/libopensrf/socket_bundle.c

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