Mercurial > pidgin
comparison src/multi.c @ 1153:3063e6743913
[gaim-migrate @ 1163]
handle the keepalives better. have ICQ force keepalives for connections, it's a bad hack but it's probably necessary for a UDP protocol.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Tue, 28 Nov 2000 04:12:06 +0000 |
| parents | a70d5200edde |
| children | 4135d8fc7b4e |
comparison
equal
deleted
inserted
replaced
| 1152:201ec77f3a60 | 1153:3063e6743913 |
|---|---|
| 53 struct gaim_connection *gc = g_new0(struct gaim_connection, 1); | 53 struct gaim_connection *gc = g_new0(struct gaim_connection, 1); |
| 54 gc->protocol = user->protocol; | 54 gc->protocol = user->protocol; |
| 55 gc->prpl = find_prpl(user->protocol); | 55 gc->prpl = find_prpl(user->protocol); |
| 56 g_snprintf(gc->username, sizeof(gc->username), "%s", user->username); | 56 g_snprintf(gc->username, sizeof(gc->username), "%s", user->username); |
| 57 g_snprintf(gc->password, sizeof(gc->password), "%s", user->password); | 57 g_snprintf(gc->password, sizeof(gc->password), "%s", user->password); |
| 58 gc->keepalive = -1; | 58 gc->options = user->options; |
| 59 gc->keepalive = 0; | |
| 59 gc->inpa = -1; | 60 gc->inpa = -1; |
| 60 gc->buddy_chats = NULL; | 61 gc->buddy_chats = NULL; |
| 61 gc->groups = NULL; | 62 gc->groups = NULL; |
| 62 gc->permit = NULL; | 63 gc->permit = NULL; |
| 63 gc->deny = NULL; | 64 gc->deny = NULL; |
