fixed the event context for net vampire
authorAndrew Tridgell <tridge@samba.org>
Tue, 24 Feb 2009 00:39:44 +0000 (11:39 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 24 Feb 2009 00:39:44 +0000 (11:39 +1100)
source4/utils/net/net_join.c

index ad63340089907b550122218fdd5bb8e2ef440113..b0a25bb7c067ae6d28e4ce0b45890fce069d7f6d 100644 (file)
@@ -126,7 +126,7 @@ int net_vampire(struct net_context *ctx, int argc, const char **argv)
 
        domain_name = tmp;
 
-       libnetctx = libnet_context_init(NULL, ctx->lp_ctx);
+       libnetctx = libnet_context_init(ctx->event_ctx, ctx->lp_ctx);
        if (!libnetctx) {
                return -1;      
        }