aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-03-06 19:53:07 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-06 19:53:07 +0800
commit248fc44bce906d799cad23b152e2dba8f0f13789 (patch)
treee93d5dc5817093c9c736b85bb5f6452c3779fc7e
parent88ebaf214ba75b41c1626c0a5bddce0e31febe41 (diff)
downloadgsoc2013-empathy-248fc44bce906d799cad23b152e2dba8f0f13789.tar
gsoc2013-empathy-248fc44bce906d799cad23b152e2dba8f0f13789.tar.gz
gsoc2013-empathy-248fc44bce906d799cad23b152e2dba8f0f13789.tar.bz2
gsoc2013-empathy-248fc44bce906d799cad23b152e2dba8f0f13789.tar.lz
gsoc2013-empathy-248fc44bce906d799cad23b152e2dba8f0f13789.tar.xz
gsoc2013-empathy-248fc44bce906d799cad23b152e2dba8f0f13789.tar.zst
gsoc2013-empathy-248fc44bce906d799cad23b152e2dba8f0f13789.zip
Use atoi instead of sscanf.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2611
-rw-r--r--libempathy/empathy-log-store-empathy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index 8bae29685..8a43c4892 100644
--- a/libempathy/empathy-log-store-empathy.c
+++ b/libempathy/empathy-log-store-empathy.c
@@ -477,7 +477,7 @@ log_store_empathy_get_messages_for_file (EmpathyLogStore *self,
msg_type = empathy_message_type_from_str (msg_type_str);
if (cm_id_str)
- sscanf (cm_id_str, "%d", &cm_id);
+ cm_id = atoi (cm_id_str);
t = empathy_time_parse (time);