[reSIProcate] bug in ClientOutOfDialogReg.cxx

Elizabeth Clark elizabeth.clark at bridgewatersystems.com
Thu Feb 3 12:35:54 CST 2005


I believe this is a bug. The dispatch should be called for 2XX messages.
 
Index: ClientOutOfDialogReq.cxx
===================================================================
--- ClientOutOfDialogReq.cxx    (revision 3844)
+++ ClientOutOfDialogReq.cxx    (working copy)
@@ -40,7 +40,7 @@
 {
        assert(msg.isResponse());
     
-    if (msg.header(h_StatusLine).statusCode() < 200)
+    if (msg.header(h_StatusLine).statusCode() >= 200)
     {
        OutOfDialogHandler *handler =
mDum.getOutOfDialogHandler(msg.header(h_CSeq).method());
        if(handler != NULL)

 

 

Elizabeth Clark                                 
Bridgewater Systems Corporation                
Phone :  (613) 591-9104 x2776
E-mail :  <mailto:elizabeth at bridgewatersystems.com>
mailto:elizabeth at bridgewatersystems.com

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050203/e5c9b38e/attachment.htm>


More information about the resiprocate-devel mailing list