# HG changeset patch # User Eric Warmenhoven # Date 1005268296 0 # Node ID e80f4b4f840f572e809c20b7134179046a10c74c # Parent 7759f914a009df6507d9a9c5c59ee91478e97333 [gaim-migrate @ 2711] sessionlen is much better than onlinesince committer: Tailor Script diff -r 7759f914a009 -r e80f4b4f840f src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Thu Nov 08 09:44:36 2001 +0000 +++ b/src/protocols/oscar/oscar.c Fri Nov 09 01:11:36 2001 +0000 @@ -1147,7 +1147,7 @@ g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", info->sn); g_free(tmp); - serv_got_update(gc, info->sn, 1, info->warnlevel/10, info->onlinesince, + serv_got_update(gc, info->sn, 1, info->warnlevel/10, time(NULL) - info->sessionlen, time_idle, type, info->capabilities); return 1; @@ -1895,7 +1895,7 @@ va_end(ap); gc->evil = info->warnlevel/10; - gc->correction_time = (info->onlinesince - gc->login_time); + /* gc->correction_time = (info->onlinesince - gc->login_time); */ return 1; }