r2752 - trunk/libmsip/source/dialogs
erik at minisip.org
erik at minisip.org
Sun Sep 10 14:07:57 CEST 2006
Author: erik
Date: 2006-09-10 14:07:55 +0200 (Sun, 10 Sep 2006)
New Revision: 2752
Modified:
trunk/libmsip/source/dialogs/SipDialog.cxx
Log:
* Compiler warning fixes
Modified: trunk/libmsip/source/dialogs/SipDialog.cxx
===================================================================
--- trunk/libmsip/source/dialogs/SipDialog.cxx 2006-09-08 10:35:52 UTC (rev 2751)
+++ trunk/libmsip/source/dialogs/SipDialog.cxx 2006-09-10 12:07:55 UTC (rev 2752)
@@ -66,7 +66,7 @@
dialogState.isEarly=false; //same as for "secure"?! -EE
dialogState.isEstablished = false;
- dialogState.rseqNo = -1;
+ dialogState.rseqNo = 0;
}
SipDialog::~SipDialog(){
@@ -303,7 +303,8 @@
bool SipDialog::updateAuthentications( MRef<SipResponse*> resp ){
bool changed = false;
- for( int i = 0;; i++ ){
+ int i;
+ for( i = 0;; i++ ){
MRef<SipHeaderValueWWWAuthenticate*> auth;
auth = resp->getHeaderValueWWWAuthenticate( i );
@@ -313,7 +314,7 @@
changed |= updateAuthentication(resp, *auth);
}
- for( int i = 0;; i++ ){
+ for( i = 0;; i++ ){
MRef<SipHeaderValueProxyAuthenticate*> auth;
auth = resp->getHeaderValueProxyAuthenticate( i );
More information about the Minisip-devel
mailing list