diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/xfer/xfer-dcc.c | 3 | ||||
-rw-r--r-- | src/plugins/xfer/xfer.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/xfer/xfer-dcc.c b/src/plugins/xfer/xfer-dcc.c index 3b9bdf5df..b2c5d8c67 100644 --- a/src/plugins/xfer/xfer-dcc.c +++ b/src/plugins/xfer/xfer-dcc.c @@ -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, diff --git a/src/plugins/xfer/xfer.h b/src/plugins/xfer/xfer.h index 5cdb2df47..f300663e6 100644 --- a/src/plugins/xfer/xfer.h +++ b/src/plugins/xfer/xfer.h @@ -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 */ |