summaryrefslogtreecommitdiff
path: root/src/core/server-connect-rec.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-21 13:59:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-21 13:59:07 +0000
commit1256621041e46c11a20646b389ba33192b054781 (patch)
treec846a6bb1fea5470b5d0666effc2d2a431ae379f /src/core/server-connect-rec.h
parentae1b5b0d50b58a4230ce45a09c0ee98231d28f0e (diff)
downloadirssi-1256621041e46c11a20646b389ba33192b054781.zip
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
Diffstat (limited to 'src/core/server-connect-rec.h')
-rw-r--r--src/core/server-connect-rec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/server-connect-rec.h b/src/core/server-connect-rec.h
index bf54f267..4dcc5142 100644
--- a/src/core/server-connect-rec.h
+++ b/src/core/server-connect-rec.h
@@ -3,6 +3,8 @@
int type; /* module_get_uniq_id("SERVER CONNECT", 0) */
int chat_type; /* chat_protocol_lookup(xx) */
+int refcount;
+
/* if we're connecting via proxy, or just NULLs */
char *proxy;
int proxy_port;