Mercurial > pidgin
diff src/multi.c @ 998:70c685de2be5
[gaim-migrate @ 1008]
this is going to make it easier to add more protocols. each protocol now sets up connections with protocol-specific data.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 15 Oct 2000 03:50:32 +0000 |
| parents | eacd93d0089a |
| children | 1d8f05ea6bdf |
line wrap: on
line diff
--- a/src/multi.c Sun Oct 15 02:00:05 2000 +0000 +++ b/src/multi.c Sun Oct 15 03:50:32 2000 +0000 @@ -54,7 +54,11 @@ g_snprintf(gc->username, sizeof(gc->username), "%s", username); g_snprintf(gc->password, sizeof(gc->password), "%s", password); gc->keepalive = -1; + gc->inpa = -1; + gc->buddy_chats = NULL; + /* this got moved to the void *proto_data, and each protocol can set this up + * itself, thank you very much switch(proto) { case PROTO_TOC: gc->toc_fd = -1; @@ -72,10 +76,8 @@ gc->create_name = NULL; gc->oscar_chats = NULL; break; - default: /* damn plugins */ - /* PRPL */ - break; } + */ connections = g_slist_append(connections, gc);
