1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

refactor: also constify CAPS usage of context info

This commit is contained in:
Andy Green 2018-04-28 08:01:01 +08:00
parent 6e1caa5c56
commit 91a47f4fab

View file

@ -415,7 +415,7 @@ lws_plat_set_socket_options(struct lws_vhost *vhost, int fd)
#if defined(LWS_HAVE_SYS_CAPABILITY_H) && defined(LWS_HAVE_LIBCAP)
static void
_lws_plat_apply_caps(int mode, cap_value_t *cv, int count)
_lws_plat_apply_caps(int mode, const cap_value_t *cv, int count)
{
cap_t caps;