diff options
-rw-r--r-- | libempathy/empathy-log-store-empathy.c | 2 |
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); |