mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +00:00
lib: Remove extraneous braces
Signed-off-by: Donald Lee <dlqs@gmx.com>
This commit is contained in:
parent
a852e5a62d
commit
0db2bfc5ac
@ -240,9 +240,9 @@ void lua_pushsockunion(lua_State *L, const union sockunion *su)
|
|||||||
void lua_decode_sockunion(lua_State *L, int idx, union sockunion *su)
|
void lua_decode_sockunion(lua_State *L, int idx, union sockunion *su)
|
||||||
{
|
{
|
||||||
lua_getfield(L, idx, "string");
|
lua_getfield(L, idx, "string");
|
||||||
if (str2sockunion(lua_tostring(L, -1), su) < 0) {
|
if (str2sockunion(lua_tostring(L, -1), su) < 0)
|
||||||
zlog_err("Lua hook call: Failed to decode sockunion");
|
zlog_err("Lua hook call: Failed to decode sockunion");
|
||||||
}
|
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
/* pop the table */
|
/* pop the table */
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user