empathy r2611 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2611 - trunk/libempathy
- Date: Fri, 6 Mar 2009 11:53:07 +0000 (UTC)
Author: xclaesse
Date: Fri Mar 6 11:53:07 2009
New Revision: 2611
URL: http://svn.gnome.org/viewvc/empathy?rev=2611&view=rev
Log:
Use atoi instead of sscanf.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy/empathy-log-store-empathy.c
Modified: trunk/libempathy/empathy-log-store-empathy.c
==============================================================================
--- trunk/libempathy/empathy-log-store-empathy.c (original)
+++ trunk/libempathy/empathy-log-store-empathy.c Fri Mar 6 11:53:07 2009
@@ -477,7 +477,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]