< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] bug in ClientOutOfDialogReg.cxx


Title: Message
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@xxxxxxxxxxxxxxxxxxxxxx