Fix a typo

This commit is contained in:
Max Lv
2016-05-06 14:08:53 +08:00
parent 41d93b126a
commit 04cd8884c0
+1 -1
View File
@@ -1171,7 +1171,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents)
#endif
#ifdef SET_INTERFACE
if (server_ctx->iface) {
if (setinterface(remotefd, server_ctx->iface) == -1);
if (setinterface(remotefd, server_ctx->iface) == -1)
ERROR("setinterface");
}
#endif