comparison src/server.c @ 10400:6a043ae92db6

[gaim-migrate @ 11631] I'm about to go home for the holidays, so I figured I'd commit this before I left so someone else could pick up on it while I'm gone. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 19 Dec 2004 20:32:32 +0000
parents a66cf83552dc
children 8ae540ad42e7
comparison
equal deleted inserted replaced
10399:aab0c9508318 10400:6a043ae92db6
42 #include "gtkutils.h" 42 #include "gtkutils.h"
43 43
44 #define SECS_BEFORE_RESENDING_AUTORESPONSE 600 44 #define SECS_BEFORE_RESENDING_AUTORESPONSE 600
45 #define SEX_BEFORE_RESENDING_AUTORESPONSE "Only after you're married" 45 #define SEX_BEFORE_RESENDING_AUTORESPONSE "Only after you're married"
46 46
47 void serv_login(GaimAccount *account) 47 void serv_login(GaimAccount *account, GaimStatus *status)
48 { 48 {
49 GaimPlugin *p = gaim_find_prpl(gaim_account_get_protocol_id(account)); 49 GaimPlugin *p = gaim_find_prpl(gaim_account_get_protocol_id(account));
50 GaimPluginProtocolInfo *prpl_info = NULL; 50 GaimPluginProtocolInfo *prpl_info = NULL;
51 51
52 if (account->gc == NULL || p == NULL) 52 if (account->gc == NULL || p == NULL)
68 gaim_account_get_username(account), 68 gaim_account_get_username(account),
69 gaim_account_get_protocol_name(account)); 69 gaim_account_get_protocol_name(account));
70 70
71 gaim_signal_emit(gaim_accounts_get_handle(), 71 gaim_signal_emit(gaim_accounts_get_handle(),
72 "account-connecting", account); 72 "account-connecting", account);
73 prpl_info->login(account); 73 prpl_info->login(account, status);
74 } 74 }
75 } 75 }
76 76
77 static gboolean send_keepalive(gpointer d) 77 static gboolean send_keepalive(gpointer d)
78 { 78 {