summaryrefslogtreecommitdiffstats
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-12 03:30:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:54 -0500
commit4b2ed199ca12cedab42683e628eb7e8da6eb0fb4 (patch)
treeb36f513fa0fd6e85fc4518dcf91c08b94433afe1 /source4/libnet
parent0b3fb7e04d3d572541a0dc4335e72b3fa776c810 (diff)
downloadsamba-4b2ed199ca12cedab42683e628eb7e8da6eb0fb4.tar.gz
samba-4b2ed199ca12cedab42683e628eb7e8da6eb0fb4.tar.xz
samba-4b2ed199ca12cedab42683e628eb7e8da6eb0fb4.zip
r12861: Cope when we are not supplied the messaging context. This is just
another case where we have to fallback to the node status request. Andrew Bartlett (This used to be commit 181064dbcf102de80937fc30b3d3ba5114194a72)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_lookup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index 1c1604f407c..3b2060fdd28 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -169,9 +169,6 @@ struct composite_context* libnet_LookupDCs_send(struct libnet_context *ctx,
{
struct messaging_context *msg_ctx = messaging_init(mem_ctx, random() % 0x10000000, ctx->event_ctx);
struct composite_context *c;
- if (!msg_ctx) {
- return NULL;
- }
c = finddcs_send(mem_ctx,
io->in.domain_name,
NBT_NAME_PDC,