summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2024-09-11 12:15:34 +0300
committerGitHub <noreply@github.com>2024-09-11 12:15:34 +0300
commitba4a8e9b79b7c5189f40d808bb5882affdf83653 (patch)
treef634d60c1eaf56cfd470aea467ef9a1a1c4a6b65 /accel-pppd
parent10cd5cab43351bb776b1b8d76acb3635f91debcd (diff)
parentfbef13f23e43216da7ece9c090153ff80adf7525 (diff)
downloadaccel-ppp-ba4a8e9b79b7c5189f40d808bb5882affdf83653.tar.gz
accel-ppp-ba4a8e9b79b7c5189f40d808bb5882affdf83653.zip
Merge pull request #195 from nuclearcat/fix-typo-free
fix(musl/l2tp_session_free): Fix, likely typo
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index 9fc2283c..bb1d1699 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.