summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-01-16 15:04:06 +0100
committerJeremy Allison <jra@samba.org>2018-01-23 01:49:23 +0100
commite4dc85b69c2a57e99156d7cd60e84ff6c550fb52 (patch)
tree28419d9ef0cea80b8de5aba0ec7ab7fdfec5d2dc /source3/libsmb
parente8e09d72ce780a9462d164d7e97a379bfc951980 (diff)
downloadsamba-e4dc85b69c2a57e99156d7cd60e84ff6c550fb52.tar.gz
libnmb: tsocket_address_unix_from_path deals fine with NULL
Other callers use NULL instead of "". Streamline it a bit Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/unexpected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index cf531c00434..b2211dd98bf 100644
--- a/source3/libsmb/unexpected.c
+++ b/source3/libsmb/unexpected.c
@@ -520,7 +520,7 @@ struct tevent_req *nb_packet_reader_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- ret = tsocket_address_unix_from_path(state, "", &laddr);
+ ret = tsocket_address_unix_from_path(state, NULL, &laddr);
if (ret != 0) {
tevent_req_nterror(req, map_nt_error_from_unix(errno));
return tevent_req_post(req, ev);