diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/channel-socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/channel-socket.c b/io/channel-socket.c index 459922c874..7a8d9f69c9 100644 --- a/io/channel-socket.c +++ b/io/channel-socket.c @@ -681,9 +681,9 @@ qio_channel_socket_set_delay(QIOChannel *ioc, QIOChannelSocket *sioc = QIO_CHANNEL_SOCKET(ioc); int v = enabled ? 0 : 1; - qemu_setsockopt(sioc->fd, - IPPROTO_TCP, TCP_NODELAY, - &v, sizeof(v)); + setsockopt(sioc->fd, + IPPROTO_TCP, TCP_NODELAY, + &v, sizeof(v)); } |