From 2c52d529b4bebe1fb316299465891950dbb392cd Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 9 Mar 2006 00:59:40 +0000 Subject: [PATCH] * 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 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/locate_kdc.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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) -- 2.26.2