diff --git a/libs/win32/Download SOFIA.vcproj b/libs/win32/Download SOFIA.vcproj
index d84d1848b6..3b3b95e325 100644
--- a/libs/win32/Download SOFIA.vcproj
+++ b/libs/win32/Download SOFIA.vcproj
@@ -76,8 +76,8 @@
diff --git a/libs/win32/sofia/libsofia_sip_ua_static.vcproj b/libs/win32/sofia/libsofia_sip_ua_static.vcproj
index 6ee29fb473..007974917b 100644
--- a/libs/win32/sofia/libsofia_sip_ua_static.vcproj
+++ b/libs/win32/sofia/libsofia_sip_ua_static.vcproj
@@ -26,7 +26,7 @@
>
+
+
@@ -3111,7 +3115,7 @@
Name="nta"
>
@@ -3819,7 +3823,7 @@
>
@@ -3852,15 +3856,15 @@
Filter="url*.h"
>
@@ -3869,7 +3873,7 @@
Filter="features*.h"
>
@@ -3878,11 +3882,11 @@
Filter="bnf*.h"
>
@@ -3890,63 +3894,63 @@
Name="msg headers"
>
@@ -3954,47 +3958,47 @@
Name="sip headers"
>
@@ -4002,35 +4006,35 @@
Name="http headers"
>
@@ -4038,11 +4042,11 @@
Name="nth headers"
>
@@ -4050,23 +4054,23 @@
Name="sresolv headers"
>
@@ -4074,15 +4078,15 @@
Name="nea headers"
>
@@ -4090,27 +4094,27 @@
Name="iptsec headers"
>
@@ -4118,15 +4122,15 @@
Name="stun headers"
>
@@ -4134,11 +4138,11 @@
Name="nua headers"
>
@@ -4146,27 +4150,27 @@
Name="nta headers"
>
@@ -4174,19 +4178,19 @@
Name="tport headers"
>
@@ -4194,11 +4198,11 @@
Name="sdp headers"
>
@@ -4206,15 +4210,15 @@
Name="soa headers"
>
diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c
index 57ee5d840f..7dc7b3a798 100644
--- a/src/mod/endpoints/mod_sofia/mod_sofia.c
+++ b/src/mod/endpoints/mod_sofia/mod_sofia.c
@@ -371,8 +371,8 @@ static auth_res_t parse_auth(sofia_profile_t *profile, sip_authorization_t const
char *nonce, *uri, *qop, *cnonce, *nc, *response, *input = NULL, *input2 = NULL;
auth_res_t ret = AUTH_OK;
char *npassword = NULL;
- nonce = uri = qop = cnonce = nc = response = NULL;
int cnt = 0;
+ nonce = uri = qop = cnonce = nc = response = NULL;
if (authorization->au_params) {
for(index = 0; (cur=(char*)authorization->au_params[index]); index++) {
diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.vcproj b/src/mod/endpoints/mod_sofia/mod_sofia.vcproj
index c991ee106a..8070148daa 100644
--- a/src/mod/endpoints/mod_sofia/mod_sofia.vcproj
+++ b/src/mod/endpoints/mod_sofia/mod_sofia.vcproj
@@ -42,7 +42,7 @@