diff options
-rw-r--r-- | io/channel-websock.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/io/channel-websock.c b/io/channel-websock.c index ec48a30..e6608b9 100644 --- a/io/channel-websock.c +++ b/io/channel-websock.c @@ -586,9 +586,7 @@ static gboolean qio_channel_websock_handshake_io(QIOChannel *ioc, return TRUE; } - if (err) { - error_propagate(&wioc->io_err, err); - } + error_propagate(&wioc->io_err, err); trace_qio_channel_websock_handshake_reply(ioc); qio_channel_add_watch( |