From 5fece20505636401623e182f0a4d2c5f0cedcd7f Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 24 May 2006 13:57:04 +0000 Subject: [PATCH] fixed logic error in disconnect git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@728 9efc2488-bf62-4759-914b-345cdb29e865 --- src/libstack/osrf_app_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.11.0