pidgin/purple-plugin-pack

Fix a call to time()

2012-01-18, Richard Laager
ce0c3dc23996
Parents 6a8d050e1e7b
Children 5d2e8d3af14c
Fix a call to time()
--- a/napster/napster.c Wed Jan 18 22:18:58 2012 -0600
+++ b/napster/napster.c Wed Jan 18 22:19:09 2012 -0600
@@ -393,7 +393,7 @@
res = g_strsplit(buf, " ", 3);
c = nap_find_chat(gc, res[0]);
if (c)
- serv_got_chat_in(gc, purple_conv_chat_get_id(PURPLE_CONV_CHAT(c)), res[1], 0, res[2], time((time_t)NULL));
+ serv_got_chat_in(gc, purple_conv_chat_get_id(PURPLE_CONV_CHAT(c)), res[1], 0, res[2], time(NULL));
g_strfreev(res);
break;