/[resiprocate]/main/resip/dum/MergedRequestKey.cxx
ViewVC logotype

Diff of /main/resip/dum/MergedRequestKey.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5295 by jason, Mon Aug 22 00:30:05 2005 UTC revision 5762 by derek, Mon Dec 19 23:22:22 2005 UTC
# Line 11  Line 11 
11  }  }
12    
13  MergedRequestKey::MergedRequestKey(const SipMessage& req) :  MergedRequestKey::MergedRequestKey(const SipMessage& req) :
14     mRequestUri(Data::from(req.header(h_RequestLine).uri())),  //   mRequestUri(Data::from(req.header(h_RequestLine).uri())),
15     mCSeq(Data::from(req.header(h_CSeq))),     mCSeq(Data::from(req.header(h_CSeq))),
16     mTag(req.header(h_From).exists(p_tag) ? req.header(h_From).param(p_tag) : Data::Empty),     mTag(req.header(h_From).exists(p_tag) ? req.header(h_From).param(p_tag) : Data::Empty),
17     mCallId(req.header(h_CallID).value())     mCallId(req.header(h_CallID).value())
# Line 23  Line 23 
23  {  {
24     return (mCallId == other.mCallId  &&     return (mCallId == other.mCallId  &&
25             mTag == other.mTag &&             mTag == other.mTag &&
26             mCSeq == other.mCSeq &&             mCSeq == other.mCSeq
27             mRequestUri == other.mRequestUri);  //           && mRequestUri == other.mRequestUri
28          );
29  }  }
30    
31  bool  bool
# Line 54  Line 55 
55        return false;        return false;
56     }     }
57        
58       return (mCSeq < other.mCSeq);
59    #if 0
60     if (mCSeq < other.mCSeq)     if (mCSeq < other.mCSeq)
61     {     {
62        return true;        return true;
# Line 64  Line 67 
67     }     }
68        
69     return (mRequestUri < other.mRequestUri);     return (mRequestUri < other.mRequestUri);
70    #endif
71  }  }
72    
73  Data& MergedRequestKey::cseq()  Data& MergedRequestKey::cseq()

Legend:
Removed from v.5295  
changed lines
  Added in v.5762

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27