summaryrefslogtreecommitdiff
path: root/source3/smbd/session.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-11 15:36:13 -0700
committerJeremy Allison <jra@samba.org>2007-10-11 15:36:13 -0700
commitcb5436bcc3b55e0c221fb6b3fa3133f149a64384 (patch)
treeb9dfa7884d428eacacff1484fbe9499f62add189 /source3/smbd/session.c
parent58a0a60bd11f5d422c7e39497dc6cdb59e91c9af (diff)
downloadsamba-cb5436bcc3b55e0c221fb6b3fa3133f149a64384.tar.gz
samba-cb5436bcc3b55e0c221fb6b3fa3133f149a64384.tar.bz2
samba-cb5436bcc3b55e0c221fb6b3fa3133f149a64384.zip
Add const to the get_peer_addr() and get_socket_addr()
calls. Use the IPv6 varient for get_peer_addr(). Jeremy. (This used to be commit baf1f52e34ae2465a7a34be1065da29ed97e7bea)
Diffstat (limited to 'source3/smbd/session.c')
-rw-r--r--source3/smbd/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/session.c b/source3/smbd/session.c
index 8dd321fad7..54d2ddf721 100644
--- a/source3/smbd/session.c
+++ b/source3/smbd/session.c
@@ -65,7 +65,7 @@ BOOL session_claim(user_struct *vuser)
struct sessionid sessionid;
struct server_id pid = procid_self();
fstring keystr;
- char * hostname;
+ const char * hostname;
struct db_context *ctx;
struct db_record *rec;
NTSTATUS status;