Mercurial > pidgin
comparison src/server.c @ 1068:ed28707debdc
[gaim-migrate @ 1078]
tooltips for one connection. need to figure out how to do it for multiple connections.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 04 Nov 2000 22:35:05 +0000 |
| parents | e1408fb04c36 |
| children | f0f5c10cce63 |
comparison
equal
deleted
inserted
replaced
| 1067:649199f4730e | 1068:ed28707debdc |
|---|---|
| 42 #include "gaim.h" | 42 #include "gaim.h" |
| 43 | 43 |
| 44 #include "pixmaps/ok.xpm" | 44 #include "pixmaps/ok.xpm" |
| 45 #include "pixmaps/cancel.xpm" | 45 #include "pixmaps/cancel.xpm" |
| 46 | 46 |
| 47 int correction_time = 0; | |
| 48 | |
| 49 void serv_login(struct aim_user *user) | 47 void serv_login(struct aim_user *user) |
| 50 { | 48 { |
| 51 struct prpl *p = find_prpl(user->protocol); | 49 struct prpl *p = find_prpl(user->protocol); |
| 52 if (p && p->login) { | 50 if (p && p->login) { |
| 53 debug_printf("Logging in using %s\n", (*p->name)()); | 51 debug_printf("Logging in using %s\n", (*p->name)()); |
| 410 { | 408 { |
| 411 struct buddy *b = find_buddy(gc, name); | 409 struct buddy *b = find_buddy(gc, name); |
| 412 struct gaim_connection *g = find_gaim_conn_by_name(name); | 410 struct gaim_connection *g = find_gaim_conn_by_name(name); |
| 413 | 411 |
| 414 if (g) { | 412 if (g) { |
| 415 correction_time = (int)(signon - g->login_time); | 413 gc->correction_time = (int)(signon - g->login_time); |
| 416 if (!b) { | 414 if (!b) { |
| 417 return; | 415 return; |
| 418 } | 416 } |
| 419 } | 417 } |
| 420 | 418 |
