comparison src/oscar.c @ 601:e670cdb5fb2f

[gaim-migrate @ 611] warnings are 10 times too big committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 04 Aug 2000 01:28:34 +0000
parents 7c75d69a1129
children 0b1a132e0f75
comparison
equal deleted inserted replaced
600:01777a942034 601:e670cdb5fb2f
529 time(&time_idle); 529 time(&time_idle);
530 time_idle -= info->idletime*60; 530 time_idle -= info->idletime*60;
531 } else 531 } else
532 time_idle = 0; 532 time_idle = 0;
533 533
534 serv_got_update(info->sn, 1, info->warnlevel, info->onlinesince, 534 serv_got_update(info->sn, 1, info->warnlevel/10, info->onlinesince,
535 time_idle, type, info->capabilities); 535 time_idle, type, info->capabilities);
536 536
537 return 1; 537 return 1;
538 } 538 }
539 539
802 "Warning Level : <B>%d %%</B>\n<BR>" 802 "Warning Level : <B>%d %%</B>\n<BR>"
803 "Online Since : <B>%s</B><BR>" 803 "Online Since : <B>%s</B><BR>"
804 "Idle Minutes : <B>%d</B>\n<BR><HR><BR>" 804 "Idle Minutes : <B>%d</B>\n<BR><HR><BR>"
805 "%s\n"), 805 "%s\n"),
806 info->sn, 806 info->sn,
807 info->warnlevel, 807 info->warnlevel/10,
808 asctime(localtime(&info->onlinesince)), 808 asctime(localtime(&info->onlinesince)),
809 info->idletime, 809 info->idletime,
810 infotype == AIM_GETINFO_GENERALINFO ? prof : 810 infotype == AIM_GETINFO_GENERALINFO ? prof :
811 away_subs(prof, current_user->username)); 811 away_subs(prof, current_user->username));
812 g_show_info_text(buf); 812 g_show_info_text(buf);