Browse code

uac_auth: removed unused code for resetting oa state

Stefan Sayer authored on 24/02/2013 15:41:06 • Raphael Coeffic committed on 28/02/2013 12:11:28
Showing 2 changed files
... ...
@@ -196,10 +196,6 @@ bool UACAuth::onSipReply(const AmSipRequest& req, const AmSipReply& reply,
196 196
 
197 197
 	    }
198 198
 
199
-	    // reset OA state to what is was before sending the failed request
200
-	    // TODO: fix this!
201
-	    //dlg->setOAState(ri->second.oa_state);
202
-
203 199
 	    // resend request 
204 200
 	    if (dlg->sendRequest(ri->second.method,
205 201
 				 &(ri->second.body),
... ...
@@ -84,10 +84,9 @@ struct SIPRequestInfo {
84 84
 
85 85
   SIPRequestInfo(const string& method, 
86 86
 		 const AmMimeBody* body,
87
-		 const string& hdrs//,AmOfferAnswer::OAState oa_state
87
+		 const string& hdrs
88 88
 		 )
89
-    : method(method), hdrs(hdrs)//, 
90
-      //oa_state(oa_state) 
89
+    : method(method), hdrs(hdrs)
91 90
   {
92 91
     if(body) this->body = *body;
93 92
   }