comparison libpurple/protocols/oscar/oscar.c @ 29523:962bc012a504

This cast is incorrect. It should be (time_t *). But it's actually not needed. This has been in our code since: 22ea67df.. by warmenhoven 2001-07-31 Crazy, huh? Fixes #11484.
author Mark Doliner <mark@kingant.net>
date Thu, 04 Mar 2010 07:37:08 +0000
parents 44165d2f71d6
children 3e5bb4e2334c
comparison
equal deleted inserted replaced
29522:b248178bc7b0 29523:962bc012a504
3795 3795
3796 utf8 = oscar_encoding_to_utf8(account, charset, msg, len); 3796 utf8 = oscar_encoding_to_utf8(account, charset, msg, len);
3797 if (utf8 == NULL) 3797 if (utf8 == NULL)
3798 /* The conversion failed! */ 3798 /* The conversion failed! */
3799 utf8 = g_strdup(_("[Unable to display a message from this user because it contained invalid characters.]")); 3799 utf8 = g_strdup(_("[Unable to display a message from this user because it contained invalid characters.]"));
3800 serv_got_chat_in(gc, ccon->id, info->bn, 0, utf8, time((time_t)NULL)); 3800 serv_got_chat_in(gc, ccon->id, info->bn, 0, utf8, time(NULL));
3801 g_free(utf8); 3801 g_free(utf8);
3802 3802
3803 return 1; 3803 return 1;
3804 } 3804 }
3805 3805