summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2007-03-22 16:08:11 +0000
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2007-03-22 16:08:11 +0000
commitd862861b7003ccedf0e6cce64a353a757c540cb9 (patch)
tree4f1233ae80a8ab66702d574176b3c7ddada3f536
parentd39baa49926757aceb0153c5dc3e4507c1757938 (diff)
untabify the recent changes
-rw-r--r--src/sip-connection-sofia.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/sip-connection-sofia.c b/src/sip-connection-sofia.c
index a79986d..02e9b75 100644
--- a/src/sip-connection-sofia.c
+++ b/src/sip-connection-sofia.c
@@ -84,10 +84,10 @@ priv_handle_auth (SIPConnection* self,
/* Clear the last used credentials saved for loop detection
* and proceed with normal handling */
if (priv->last_auth != NULL)
- {
- g_free (priv->last_auth);
- priv->last_auth = NULL;
- }
+ {
+ g_free (priv->last_auth);
+ priv->last_auth = NULL;
+ }
return SIP_AUTH_PASS;
}
@@ -112,16 +112,16 @@ priv_handle_auth (SIPConnection* self,
{
/* Save the realm presented by the registrar */
if (priv->registrar_realm == NULL)
- priv->registrar_realm = g_strdup (realm);
+ priv->registrar_realm = g_strdup (realm);
else if (wa && strcmp(priv->registrar_realm, realm) != 0)
- {
- g_message ("registrar realm changed from '%s' to '%s'", priv->registrar_realm, realm);
- g_free (priv->registrar_realm);
- priv->registrar_realm = g_strdup (realm);
- }
+ {
+ g_message ("registrar realm changed from '%s' to '%s'", priv->registrar_realm, realm);
+ g_free (priv->registrar_realm);
+ priv->registrar_realm = g_strdup (realm);
+ }
}
else if (priv->registrar_realm != NULL
- && strcmp(priv->registrar_realm, realm) == 0)
+ && strcmp(priv->registrar_realm, realm) == 0)
home_realm = TRUE;
if (home_realm)
@@ -133,11 +133,11 @@ priv_handle_auth (SIPConnection* self,
/* use the userpart in "From" header */
if (sipfrom && sipfrom->a_url)
- user = sipfrom->a_url->url_user;
-
+ user = sipfrom->a_url->url_user;
+
/* alternatively use the userpart in "To" header */
if (!user && sipto && sipto->a_url)
- user = sipto->a_url->url_user;
+ user = sipto->a_url->url_user;
password = priv->password;
}