1. Make the functions reset_session_buffers() and grab_incoming()
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 6 Jan 2009 20:55:03 +0000 (20:55 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 6 Jan 2009 20:55:03 +0000 (20:55 +0000)
commit83c5abd38daec0d6cd92990d540a268c61bdb247
tree2b95e77d51097ce3bea1195fff7bcb71d4ee80b5
parentd4548cfb987a8846d0d5ddb99a99a9dc840ea90e
1. Make the functions reset_session_buffers() and grab_incoming()
static, since no other source file references them by name.

2. Delete various fragments of dead, obsolete, commented-out code.

3. In init_transport: delete the cleanup code after failure
of previous calls to buffer_init().  It's unreachable, since
buffer_init() can never return NULL.

4. Change transport_session.c so that it uses buffer_add_n()
instead of passing data through an intermediate buffer.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1573 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/transport_session.h
src/libopensrf/transport_session.c