diff options
author | Denys Fedoryshchenko <denys.f@collabora.com> | 2024-09-11 01:39:42 +0300 |
---|---|---|
committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2024-09-11 01:53:47 +0300 |
commit | fbef13f23e43216da7ece9c090153ff80adf7525 (patch) | |
tree | 485ec297ee6efafffa667cad276f6fbcd0a88b6f | |
parent | 26ebe599c3f1241022038d4b3f709410074876c5 (diff) | |
download | accel-ppp-fbef13f23e43216da7ece9c090153ff80adf7525.tar.gz accel-ppp-fbef13f23e43216da7ece9c090153ff80adf7525.zip |
fix(musl/l2tp_session_free): Fix, likely typo
It is logical, that function should remain same,
not changed to free.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
-rw-r--r-- | accel-pppd/ctrl/l2tp/l2tp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c index 9fc2283..bb1d169 100644 --- a/accel-pppd/ctrl/l2tp/l2tp.c +++ b/accel-pppd/ctrl/l2tp/l2tp.c @@ -856,7 +856,7 @@ static void l2tp_tunnel_free_sessions(struct l2tp_conn_t *conn) #ifdef HAVE_FREE_FN_T tdestroy(sessions, (__free_fn_t)l2tp_session_free); #else - tdestroy(sessions, free); + tdestroy(sessions, (void(*)(void *))l2tp_session_free); #endif /* Let l2tp_session_free() handle the session counter and * the reference held by the tunnel. |