Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 10636:0f5c5e6fb27f
[gaim-migrate @ 12118]
The strftime warnings fiunally got to me, so I made gaim_strftime to work
around it.
Turns out KingAnt had already discovered this solution for oscar.c but left
it #iffed out.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 24 Feb 2005 01:11:17 +0000 |
parents | 03aa223a14d9 |
children | 6a618db0a404 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Wed Feb 23 23:39:59 2005 +0000 +++ b/src/protocols/oscar/oscar.c Thu Feb 24 01:11:17 2005 +0000 @@ -5157,6 +5157,13 @@ { return strftime(s, max, fmt, tm); } + +/* + * Before even realizing this was here, I went and did the same thing in util.c. + * + * Use gaim_strftime() + */ + #endif static int gaim_icqinfo(aim_session_t *sess, aim_frame_t *fr, ...) @@ -5220,7 +5227,7 @@ tm.tm_mday = (int)info->birthday; tm.tm_mon = (int)info->birthmonth-1; tm.tm_year = (int)info->birthyear-1900; - strftime(date, sizeof(date), "%x", &tm); + gaim_strftime(date, sizeof(date), "%x", &tm); oscar_string_append(str, "\n<br>", _("Birthday"), date); } if (info->age) {