From: Ken Raeburn Date: Thu, 9 Mar 2006 00:59:40 +0000 (+0000) Subject: * locate_kdc.c (module_locate_server): Don't set cbdata.lp at initialization time X-Git-Tag: krb5-1.5-alpha1~178 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c52d529b4bebe1fb316299465891950dbb392cd;p=krb5.git * locate_kdc.c (module_locate_server): Don't set cbdata.lp at initialization time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17724 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 0b02869b3..8c39bb4ca 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2006-03-08 Ken Raeburn + + * locate_kdc.c (module_locate_server): Don't set cbdata.lp at + initialization time. + 2006-03-07 Ken Raeburn * locate_kdc.c: Include k5-locate.h instead of k5-plugin.h. diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index bed9c932f..e178a98a5 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -603,9 +603,10 @@ module_locate_server (krb5_context ctx, const krb5_data *realm, struct krb5plugin_service_locate_ftable *vtbl = NULL; void **ptrs; int i; - struct module_callback_data cbdata = { 0, addrlist }; + struct module_callback_data cbdata = { 0, }; Tprintf("in module_locate_server\n"); + cbdata.lp = addrlist; if (!PLUGIN_DIR_OPEN (&ctx->libkrb5_plugins)) { code = krb5int_open_plugin_dir (objdir, &ctx->libkrb5_plugins); if (code)