summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-06-30 17:51:29 +0200
committerAndreas Schneider <asn@samba.org>2021-02-02 10:23:33 +0100
commita79dec9866a0c42ff60c72ba04483818d4575127 (patch)
tree382228fd32775f11a006402f5c3dce769be49789
parentc740bbe30affb7b94c6cca5f65a4e9047a1119ec (diff)
downloadsocket_wrapper-a79dec9866a0c42ff60c72ba04483818d4575127.tar.gz
socket_wrapper-a79dec9866a0c42ff60c72ba04483818d4575127.tar.xz
socket_wrapper-a79dec9866a0c42ff60c72ba04483818d4575127.zip
swrap: add const to swrap_add_socket_info()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
-rw-r--r--src/socket_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index fa18a09..1a76c19 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -1811,7 +1811,7 @@ static int find_socket_info_index(int fd)
return socket_fds_idx[fd];
}
-static int swrap_add_socket_info(struct socket_info *si_input)
+static int swrap_add_socket_info(const struct socket_info *si_input)
{
struct socket_info *si = NULL;
int si_index = -1;