Finish removal of iconv_convenience in public API's.
[mat/samba.git] / source4 / libnet / libnet_lookup.c
index 0a8edef31168e548c51e4b453d83d01182da2a1b..21851d5ae89ef7616160ad2ea7714a1e3d16199d 100644 (file)
@@ -192,13 +192,14 @@ struct composite_context* libnet_LookupDCs_send(struct libnet_context *ctx,
 {
        struct composite_context *c;
        struct messaging_context *msg_ctx = 
-               messaging_client_init(mem_ctx, lp_messaging_path(mem_ctx, ctx->lp_ctx), 
-                                     lp_iconv_convenience(ctx->lp_ctx), ctx->event_ctx);
-
-       c = finddcs_send(mem_ctx, lp_netbios_name(ctx->lp_ctx), lp_nbt_port(ctx->lp_ctx),
-                        io->in.domain_name, io->in.name_type,
-                        NULL, lp_iconv_convenience(ctx->lp_ctx), 
-                        ctx->resolve_ctx, ctx->event_ctx, msg_ctx);
+               messaging_client_init(mem_ctx,
+                                                         lp_messaging_path(mem_ctx, ctx->lp_ctx), 
+                                                         ctx->event_ctx);
+
+       c = finddcs_send(mem_ctx, lp_netbios_name(ctx->lp_ctx),
+                                        lp_nbt_port(ctx->lp_ctx), io->in.domain_name,
+                                        io->in.name_type, NULL, ctx->resolve_ctx,
+                                        ctx->event_ctx, msg_ctx);
        return c;
 }