[Telepathy-commits] [telepathy-sofiasip/aliasing] Properly (ahem) initialize a temporary Sofia home
Mikhail Zabaluev
mikhail.zabaluev at nokia.com
Wed Oct 8 02:25:02 PDT 2008
---
src/sip-connection.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/sip-connection.c b/src/sip-connection.c
index b378e98..e95d0a2 100644
--- a/src/sip-connection.c
+++ b/src/sip-connection.c
@@ -143,8 +143,7 @@ priv_handle_parse_from (const sip_t *sip,
if (sip->sip_from)
{
- su_home_t tmphome[1];
- su_home_init (tmphome);
+ su_home_t tmphome[1] = { SU_HOME_INIT(tmphome) };
url_str = url_as_string (tmphome, sip->sip_from->a_url);
--
1.5.6.5
More information about the Telepathy-commits
mailing list