diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-01 16:21:12 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-01-01 23:00:24 +0100 |
commit | 9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb (patch) | |
tree | 00e50c48c0c031d845c29f65c7032f337248740c /source3/libsmb | |
parent | b2ba2b956e2b6e8552c74afe65902aae70203843 (diff) | |
download | samba-9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb.tar.gz samba-9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb.tar.bz2 samba-9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb.zip |
s3: Remove unused mem_ctx arg from set_getdc_request
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clidgram.c | 3 | ||||
-rw-r--r-- | source3/libsmb/clidgram.h | 3 | ||||
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c index c4a030934e..05a0edc59d 100644 --- a/source3/libsmb/clidgram.c +++ b/source3/libsmb/clidgram.c @@ -186,8 +186,7 @@ fail: return ret; } -bool send_getdc_request(TALLOC_CTX *mem_ctx, - struct messaging_context *msg_ctx, +bool send_getdc_request(struct messaging_context *msg_ctx, const struct sockaddr_storage *dc_ss, const char *domain_name, const struct dom_sid *sid, diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h index 7c650a06ca..af924f40ce 100644 --- a/source3/libsmb/clidgram.h +++ b/source3/libsmb/clidgram.h @@ -2,8 +2,7 @@ /* The following definitions come from libsmb/clidgram.c */ -bool send_getdc_request(TALLOC_CTX *mem_ctx, - struct messaging_context *msg_ctx, +bool send_getdc_request(struct messaging_context *msg_ctx, const struct sockaddr_storage *dc_ss, const char *domain_name, const struct dom_sid *sid, diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index b1acee87d7..63621ed52f 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -950,7 +950,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx, return NT_STATUS_UNSUCCESSFUL; } - if (send_getdc_request(mem_ctx, msg_ctx, + if (send_getdc_request(msg_ctx, &dclist[i].ss, domain_name, NULL, nt_version, dgm_id)) { |