* locate_kdc.c (module_locate_server): Don't set cbdata.lp at initialization time
authorKen Raeburn <raeburn@mit.edu>
Thu, 9 Mar 2006 00:59:40 +0000 (00:59 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 9 Mar 2006 00:59:40 +0000 (00:59 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17724 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/locate_kdc.c

index 0b02869b306b67d7900d7eb96d868ccbd3fc0f01..8c39bb4cae56387cb2beb04178c7d076ad50a6b4 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-08  Ken Raeburn  <raeburn@mit.edu>
+
+       * locate_kdc.c (module_locate_server): Don't set cbdata.lp at
+       initialization time.
+
 2006-03-07  Ken Raeburn  <raeburn@mit.edu>
 
        * locate_kdc.c: Include k5-locate.h instead of k5-plugin.h.
index bed9c932f65db0e5e366ed8a6cef9c26945671b4..e178a98a553eeb1a6a0a69c8c5116d1115140f27 100644 (file)
@@ -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)