From 17dbcae0462bf7547f33a0f7c7abe04a3c48dfdf Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Mon, 23 Jun 2008 16:48:46 +0000 Subject: [PATCH] - fixes a possible issue with dead sessions if a BYE request is replied with an error. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1030 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmSipDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index dbe8321d..97408c2d 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -161,8 +161,8 @@ int AmSipDialog::updateStatusReply(const AmSipRequest& req, unsigned int code) case Disconnecting: if(t.method == "BYE"){ - if((code < 300) && (code >= 200)) - status = Disconnected; + if(code >= 200) + status = Disconnected; } break; }