From b32ea2e373dd303e2d651d0bdc2b4449849ddbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 31 Mar 2018 13:31:16 +0200 Subject: xfer: move option "send_ack" (sort options by name) (issue #1171) --- src/plugins/xfer/xfer-config.c | 14 +++++++------- src/plugins/xfer/xfer-config.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') 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; -- cgit v1.2.3