summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-08 02:14:57 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-08 02:14:57 +0000
commit21b9280cf516045f3ffb7d5249087a127855a38d (patch)
tree66604f5931a8cb70a88536893488ab74a20064a8 /source3/lib
parent363de3ca121b21a55457034648194f16fc2dc72f (diff)
downloadsamba-21b9280cf516045f3ffb7d5249087a127855a38d.tar.gz
samba-21b9280cf516045f3ffb7d5249087a127855a38d.tar.bz2
samba-21b9280cf516045f3ffb7d5249087a127855a38d.zip
Kill off const warnings - add a pile of const to various places.
(This used to be commit 1de04ec4735c19ec21cdef6e679cea17c734c5f6)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index b16d34e1f4..4f1f2a1470 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -93,7 +93,7 @@ static const smb_socket_option socket_options[] = {
static void print_socket_options(int s)
{
int value, vlen = 4;
- smb_socket_option *p = &socket_options[0];
+ const smb_socket_option *p = &socket_options[0];
for (; p->name != NULL; p++) {
if (getsockopt(s, p->level, p->option, (void *)&value, &vlen) == -1) {