comparison src/protocols/oscar/oscar.c @ 9724:6b5bd8ee11db

[gaim-migrate @ 10585] Nathan was talking about this, and he was right, dead right. "He's drunk." "Dead drunk." "It, it... flames, flames, on the side of my face, breath, heaping breath" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 08 Aug 2004 17:15:45 +0000
parents db62420a53a2
children c9ac1976ef01
comparison
equal deleted inserted replaced
9723:c0961d8cb0fb 9724:6b5bd8ee11db
3505 tmp = gaim_escape_html(msg2[0]); 3505 tmp = gaim_escape_html(msg2[0]);
3506 3506
3507 if (t) { /* This is an offline message */ 3507 if (t) { /* This is an offline message */
3508 /* The timestamp is UTC-ish, so we need to get the offset */ 3508 /* The timestamp is UTC-ish, so we need to get the offset */
3509 #ifdef HAVE_TM_GMTOFF 3509 #ifdef HAVE_TM_GMTOFF
3510 struct tm tm; 3510 time_t now;
3511 t += tm.tm_gmtoff; 3511 struct tm *tm;
3512 now = time(NULL);
3513 tm = localtime(&now);
3514 t += tm->tm_gmtoff;
3512 #else 3515 #else
3513 # ifdef HAVE_TIMEZONE 3516 # ifdef HAVE_TIMEZONE
3514 tzset(); 3517 tzset();
3515 t -= timezone; 3518 t -= timezone;
3516 # endif 3519 # endif