summaryrefslogtreecommitdiff
path: root/src/plugins/xfer
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-31 13:31:16 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-03-31 13:39:04 +0200
commitb32ea2e373dd303e2d651d0bdc2b4449849ddbbd (patch)
tree42802d4f1555d9130badb94001319b9fc39f6e46 /src/plugins/xfer
parent060ba763f222b730d7f7ae631a2bf455af0449b3 (diff)
downloadweechat-b32ea2e373dd303e2d651d0bdc2b4449849ddbbd.zip
xfer: move option "send_ack" (sort options by name) (issue #1171)
Diffstat (limited to 'src/plugins/xfer')
-rw-r--r--src/plugins/xfer/xfer-config.c14
-rw-r--r--src/plugins/xfer/xfer-config.h2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c
index 461f24c75..8b389647f 100644
--- a/src/plugins/xfer/xfer-config.c
+++ b/src/plugins/xfer/xfer-config.c
@@ -49,9 +49,9 @@ struct t_config_option *xfer_config_network_blocksize;
struct t_config_option *xfer_config_network_fast_send;
struct t_config_option *xfer_config_network_own_ip;
struct t_config_option *xfer_config_network_port_range;
+struct t_config_option *xfer_config_network_send_ack;
struct t_config_option *xfer_config_network_speed_limit;
struct t_config_option *xfer_config_network_timeout;
-struct t_config_option *xfer_config_network_send_ack;
/* xfer config, file section */
@@ -284,6 +284,12 @@ xfer_config_init ()
"below 1024)"),
NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ xfer_config_network_send_ack = weechat_config_new_option (
+ xfer_config_file, ptr_section,
+ "send_ack", "boolean",
+ N_("does not send acks when receiving files"),
+ NULL, 0, 0, "on", NULL, 0,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_speed_limit = weechat_config_new_option (
xfer_config_file, ptr_section,
"speed_limit", "integer",
@@ -297,12 +303,6 @@ xfer_config_init ()
N_("timeout for xfer request (in seconds)"),
NULL, 5, INT_MAX, "300", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
- xfer_config_network_send_ack = weechat_config_new_option (
- xfer_config_file, ptr_section,
- "send_ack", "boolean",
- N_("does not send acks when receiving files"),
- NULL, 0, 0, "on", NULL, 0,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
ptr_section = weechat_config_new_section (xfer_config_file, "file",
0, 0,
diff --git a/src/plugins/xfer/xfer-config.h b/src/plugins/xfer/xfer-config.h
index 6a2b16129..8012a35ac 100644
--- a/src/plugins/xfer/xfer-config.h
+++ b/src/plugins/xfer/xfer-config.h
@@ -39,9 +39,9 @@ extern struct t_config_option *xfer_config_network_blocksize;
extern struct t_config_option *xfer_config_network_fast_send;
extern struct t_config_option *xfer_config_network_own_ip;
extern struct t_config_option *xfer_config_network_port_range;
+extern struct t_config_option *xfer_config_network_send_ack;
extern struct t_config_option *xfer_config_network_speed_limit;
extern struct t_config_option *xfer_config_network_timeout;
-extern struct t_config_option *xfer_config_network_send_ack;
extern struct t_config_option *xfer_config_file_auto_accept_chats;
extern struct t_config_option *xfer_config_file_auto_accept_files;