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:
@@ -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,
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user