summaryrefslogtreecommitdiff
path: root/src/plugins/xfer
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-27 17:05:59 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-27 17:05:59 +0100
commit3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db (patch)
tree3adaea1fa3c98278e43d8025a233d245c95b6c1a /src/plugins/xfer
parentaa77b482adce234207d9954850df0f6da6d61711 (diff)
downloadweechat-3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db.zip
Remove argument "switch_to_another" for function gui_buffer_close()
Diffstat (limited to 'src/plugins/xfer')
-rw-r--r--src/plugins/xfer/xfer-buffer.c2
-rw-r--r--src/plugins/xfer/xfer.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/xfer/xfer-buffer.c b/src/plugins/xfer/xfer-buffer.c
index fbac50de6..6a3ba6db1 100644
--- a/src/plugins/xfer/xfer-buffer.c
+++ b/src/plugins/xfer/xfer-buffer.c
@@ -299,7 +299,7 @@ xfer_buffer_input_cb (void *data, struct t_gui_buffer *buffer,
/* quit xfer buffer (close it) */
else if (weechat_strcasecmp (input_data, "q") == 0)
{
- weechat_buffer_close (buffer, 1);
+ weechat_buffer_close (buffer);
}
/* remove xfer */
else if (weechat_strcasecmp (input_data, "r") == 0)
diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c
index 14856c3d4..0c9e69694 100644
--- a/src/plugins/xfer/xfer.c
+++ b/src/plugins/xfer/xfer.c
@@ -609,9 +609,7 @@ xfer_free (struct t_xfer *xfer)
return;
if (xfer->buffer)
- {
- weechat_buffer_close (xfer->buffer, 1);
- }
+ weechat_buffer_close (xfer->buffer);
/* remove xfer from list */
if (last_xfer == xfer)