diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-02-03 22:30:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:43 -0500 |
commit | 34aa19cafe8d19412123d92b735e8afda5e0a87d (patch) | |
tree | 8d64d4eff223e821266288553189a6a2abb7f33b /source4/libnet | |
parent | 1d43fa6c9fe05c355119f9a133bd3a4b52ec18c0 (diff) | |
download | samba-34aa19cafe8d19412123d92b735e8afda5e0a87d.tar.gz samba-34aa19cafe8d19412123d92b735e8afda5e0a87d.tar.bz2 samba-34aa19cafe8d19412123d92b735e8afda5e0a87d.zip |
r13317: Create a new function messaging_client_init() which can be used when
we don't have a server messaging context. We should replace the
datagram messages with stream sockets in this case, so we don't have
to create a unique socket.
Andrew Bartlett
(This used to be commit fd974fb64792f8f6c532b01d2a2e012be18eef7e)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index 3b2060fdd2..89974203f2 100644 --- a/source4/libnet/libnet_lookup.c +++ b/source4/libnet/libnet_lookup.c @@ -167,7 +167,7 @@ struct composite_context* libnet_LookupDCs_send(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_LookupDCs *io) { - struct messaging_context *msg_ctx = messaging_init(mem_ctx, random() % 0x10000000, ctx->event_ctx); + struct messaging_context *msg_ctx = messaging_client_init(mem_ctx, ctx->event_ctx); struct composite_context *c; c = finddcs_send(mem_ctx, io->in.domain_name, |