drop upstreamed patch

epel9
Peter Robinson 5 years ago
parent 38681161da
commit e3b6c309a3

@ -10,7 +10,6 @@ Summary: A lightweight C library for Websockets
License: LGPLv2 and Public Domain and BSD and MIT and zlib
URL: http://libwebsockets.org
Source0: https://github.com/warmcat/libwebsockets/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: sock-fix-build.patch
BuildRequires: cmake
BuildRequires: gcc

@ -1,20 +0,0 @@
Author: Sviatoslav Grebenchucov <m1r4gexx@gmail.com>
Date: Sun Aug 25 20:52:20 2019 +0200
socks: Fix compilation error
diff --git a/lib/roles/http/client/client.c b/lib/roles/http/client/client.c
index 65b7c54..b1e795d 100644
--- a/lib/roles/http/client/client.c
+++ b/lib/roles/http/client/client.c
@@ -214,7 +214,7 @@ lws_client_socket_service(struct lws *wsi, struct lws_pollfd *pollfd,
lwsl_client("SOCKS password OK, sending connect\n");
if (socks_generate_msg(wsi, SOCKS_MSG_CONNECT, &len)) {
socks_send_msg_fail:
- *cce = "socks gen msg fail";
+ cce = "socks gen msg fail";
goto bail3;
}
conn_mode = LRS_WAITING_SOCKS_CONNECT_REPLY;
Loading…
Cancel
Save