git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tsocket: Add some const
[sfrench/samba-autobuild/.git]
/
lib
/
tsocket
/
tsocket_bsd.c
diff --git
a/lib/tsocket/tsocket_bsd.c
b/lib/tsocket/tsocket_bsd.c
index 89e5f4cee89691db4c62a8edf075e41d0e321fcf..4417f8e0454a85b8feba8088f34525ec8d790d6b 100644
(file)
--- a/
lib/tsocket/tsocket_bsd.c
+++ b/
lib/tsocket/tsocket_bsd.c
@@
-209,7
+209,7
@@
struct tsocket_address_bsd {
};
int _tsocket_address_bsd_from_sockaddr(TALLOC_CTX *mem_ctx,
- struct sockaddr *sa,
+
const
struct sockaddr *sa,
size_t sa_socklen,
struct tsocket_address **_addr,
const char *location)