From 5f9763f4ad5a9f094f82d6a26b4f9d5099393074 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 15 Jun 2008 13:03:31 +0200 Subject: Fix connection bug in xfer plugin --- src/plugins/xfer/xfer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/xfer') diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c index 6452827f4..c0c8951d6 100644 --- a/src/plugins/xfer/xfer.c +++ b/src/plugins/xfer/xfer.c @@ -649,6 +649,9 @@ xfer_add_cb (void *data, const char *signal, const char *type_data, void *signal short_filename = NULL; spaces = 0; + sock = -1; + port = 0; + plugin_name = weechat_infolist_string (infolist, "plugin_name"); plugin_id = weechat_infolist_string (infolist, "plugin_id"); str_type = weechat_infolist_string (infolist, "type"); -- cgit v1.2.3