Use global iconv convenience rather than global loadparm.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 23:35:04 +0000 (00:35 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 23:35:04 +0000 (00:35 +0100)
source4/libcli/resolve/nbtlist.c

index 531ce6098fbcdde4d0a8d7667d7ca13a87edc844..ec4cfb81b414fe5b2a368c4f896d18112c24a5a3 100644 (file)
@@ -142,7 +142,7 @@ struct composite_context *resolve_name_nbtlist_send(TALLOC_CTX *mem_ctx,
        }
 
        state->nbtsock = nbt_name_socket_init(state, event_ctx, 
        }
 
        state->nbtsock = nbt_name_socket_init(state, event_ctx, 
-                                             lp_iconv_convenience(global_loadparm));
+                                             global_iconv_convenience);
        if (composite_nomem(state->nbtsock, c)) return c;
 
        /* count the address_list size */
        if (composite_nomem(state->nbtsock, c)) return c;
 
        /* count the address_list size */