summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-15 01:37:12 +0000
committerMartin Pool <mbp@samba.org>2002-01-15 01:37:12 +0000
commitdf3d5b3556146e2d60c1a5656b16236f96832a16 (patch)
tree4f30c447f9e67a3e8f8eeebda0b20fb3ea335dbb /source3/lib/util_sock.c
parent90558370ab9019c425019083a6dcb129a808a5ed (diff)
downloadsamba-df3d5b3556146e2d60c1a5656b16236f96832a16.tar.gz
samba-df3d5b3556146e2d60c1a5656b16236f96832a16.tar.bz2
samba-df3d5b3556146e2d60c1a5656b16236f96832a16.zip
Add constness to filenames passed to functions.
(This used to be commit 8d106dc1f4a51112516d72ae68747ca6b5b904b7)
Diffstat (limited to 'source3/lib/util_sock.c')
-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 8e7b69cac8..c6c26155da 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -116,7 +116,7 @@ static void print_socket_options(int s)
Set user socket options.
****************************************************************************/
-void set_socket_options(int fd, char *options)
+void set_socket_options(int fd, const char *options)
{
fstring tok;