1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

xfer: fix code style and comments (issue #1171)

This commit is contained in:
Sébastien Helleu
2018-03-31 13:33:40 +02:00
parent b32ea2e373
commit 5a58b92044
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -347,9 +347,8 @@ xfer_dcc_recv_file_child (struct t_xfer *xfer)
}
/* set TCP_NODELAY to be more aggressive with acks */
/* ignore error as transfer should still work if this fails */
flags = 1;
setsockopt(xfer->sock, IPPROTO_TCP, TCP_NODELAY, &flags, sizeof(flags));
setsockopt (xfer->sock, IPPROTO_TCP, TCP_NODELAY, &flags, sizeof (flags));
/* connection is OK, change DCC status (inform parent process) */
xfer_network_write_pipe (xfer, XFER_STATUS_ACTIVE,
+1 -1
View File
@@ -156,7 +156,7 @@ struct t_xfer
char *remote_nick_color; /* color name for remote nick */
/* (returned by IRC plugin) */
int fast_send; /* fast send file: does not wait ACK */
int send_ack; /* send ack on file receive */
int send_ack; /* send acks on file receive */
int blocksize; /* block size for sending file */
time_t start_time; /* time when xfer started */
time_t start_transfer; /* time when xfer transfer started */