From: erickson Date: Wed, 24 May 2006 13:57:04 +0000 (+0000) Subject: fixed logic error in disconnect X-Git-Tag: osrf_rel_2_0_1~1145 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5fece20505636401623e182f0a4d2c5f0cedcd7f;p=OpenSRF.git fixed logic error in disconnect git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@728 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libstack/osrf_app_session.c b/src/libstack/osrf_app_session.c index a92eee0..b65c941 100644 --- a/src/libstack/osrf_app_session.c +++ b/src/libstack/osrf_app_session.c @@ -468,8 +468,8 @@ int osrf_app_session_disconnect( osrf_app_session* session){ osrfLogDebug(OSRF_LOG_MARK, "AppSession disconnecting from %s", session->remote_id ); osrf_message* dis_msg = osrf_message_init( DISCONNECT, session->thread_trace, 1 ); - session->state = OSRF_SESSION_DISCONNECTED; _osrf_app_session_send( session, dis_msg ); + session->state = OSRF_SESSION_DISCONNECTED; osrf_message_free( dis_msg ); osrf_app_session_reset_remote( session );