diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-15 13:03:31 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-15 13:03:31 +0200 |
commit | 5f9763f4ad5a9f094f82d6a26b4f9d5099393074 (patch) | |
tree | a35f2e3076b57a1960bffd9bccb946a4d27e566d /src/plugins/xfer/xfer.c | |
parent | 18a59cf8aaefcbd16d48387b68ce9ae874162c64 (diff) | |
download | weechat-5f9763f4ad5a9f094f82d6a26b4f9d5099393074.zip |
Fix connection bug in xfer plugin
Diffstat (limited to 'src/plugins/xfer/xfer.c')
-rw-r--r-- | src/plugins/xfer/xfer.c | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |