mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 01:22:26 +02:00
Added reference counter to SERVER_CONNECT_REC. Since it's being moved around
a lot in reconnects etc. this should make it easier to track when it's supposed to be destroyed. Hopefully fixes a crash I assume is related to this but couldn't find.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ae1b5b0d50
commit
1256621041
10 changed files with 79 additions and 38 deletions
|
|
@ -41,7 +41,8 @@ SERVER_REC *server_find_chatnet(const char *chatnet);
|
|||
|
||||
/* starts connecting to server */
|
||||
int server_start_connect(SERVER_REC *server);
|
||||
void server_connect_free(SERVER_CONNECT_REC *conn);
|
||||
void server_connect_ref(SERVER_CONNECT_REC *conn);
|
||||
void server_connect_unref(SERVER_CONNECT_REC *conn);
|
||||
|
||||
/* initializes server record but doesn't start connecting */
|
||||
void server_connect_init(SERVER_REC *server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue