mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 20:51:06 +08:00
libuwsc: fix compilation with GCC11
Bad if identation is now an error. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
2d7c6c64db
commit
a04ce4627a
11
libs/libuwsc/patches/010-gcc11.patch
Normal file
11
libs/libuwsc/patches/010-gcc11.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/lua/uwsc_lua.c
|
||||||
|
+++ b/src/lua/uwsc_lua.c
|
||||||
|
@@ -177,7 +177,7 @@ static int uwsc_lua_on(lua_State *L)
|
||||||
|
else
|
||||||
|
luaL_argcheck(L, false, 2, "available event name: open message error close");
|
||||||
|
|
||||||
|
- return 0;
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int __uwsc_lua_send(lua_State *L, int op)
|
Loading…
Reference in New Issue
Block a user