[Telepathy-commits] [telepathy-gabble/master] Location: fix compilation error (use of uninitialized variable)

Alban Crequy alban.crequy at collabora.co.uk
Sun Feb 1 05:23:58 PST 2009


---
 src/conn-location.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/conn-location.c b/src/conn-location.c
index 21ec336..38047fb 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -318,6 +318,12 @@ update_location_from_msg (GabbleConnection *conn,
           g_value_take_string (value, str);
           DEBUG ("\t - %s: %s", key, str);
         }
+      else
+        {
+          DEBUG ("Unable to read the key %s from the location of %s",
+              key, from);
+          continue;
+        }
 
       g_hash_table_insert (location, g_strdup (key), value);
     }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list