Browse code

b/f: initialize AmTimeoutEvent cseq property properly

Stefan Sayer authored on 07/07/2014 12:30:58
Showing 1 changed files
... ...
@@ -66,10 +66,10 @@ class AmSipTimeoutEvent: public AmSipEvent
66 66
   AmSipReply   rpl;
67 67
 
68 68
   AmSipTimeoutEvent(EvType t, unsigned int cseq_num)
69
-    : AmSipEvent(), type(t)
69
+    : AmSipEvent(), type(t), cseq(cseq_num)
70 70
    {}
71 71
   AmSipTimeoutEvent(EvType t, AmSipRequest &_req, AmSipReply &_rpl)
72
-    : AmSipEvent(), type(t), req(_req), rpl(_rpl)
72
+    : AmSipEvent(), type(t), req(_req), rpl(_rpl), cseq(_req.cseq)
73 73
     {}
74 74
 
75 75
   virtual void operator() (AmBasicSipDialog* dlg);