svn rev #25174: trunk/src/util/verto/

ghudson@MIT.EDU ghudson at MIT.EDU
Wed Sep 14 12:12:25 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25174
Commit By: ghudson
Log Message:
Update verto sources to 2011-09-14 versions.

Also add verto_reinitialize to libverto exports (missed in the last
update).


Changed Files:
U   trunk/src/util/verto/libverto.exports
U   trunk/src/util/verto/verto.c
Modified: trunk/src/util/verto/libverto.exports
===================================================================
--- trunk/src/util/verto/libverto.exports	2011-09-14 15:22:11 UTC (rev 25173)
+++ trunk/src/util/verto/libverto.exports	2011-09-14 16:12:25 UTC (rev 25174)
@@ -19,6 +19,7 @@
 verto_get_supported_types
 verto_get_type
 verto_new
+verto_reinitialize
 verto_run
 verto_run_once
 verto_set_default

Modified: trunk/src/util/verto/verto.c
===================================================================
--- trunk/src/util/verto/verto.c	2011-09-14 15:22:11 UTC (rev 25173)
+++ trunk/src/util/verto/verto.c	2011-09-14 16:12:25 UTC (rev 25174)
@@ -561,7 +561,7 @@
 
     /* Delete all events, but keep around the forkable ev structs */
     for (tmp = ctx->events; tmp; tmp = next) {
-        next = ctx->events->next;
+        next = tmp->next;
 
         if (tmp->flags & VERTO_EV_FLAG_REINITIABLE)
             ctx->funcs.ctx_del(ctx->modpriv, tmp, tmp->modpriv);
@@ -575,7 +575,7 @@
     /* Recreate events that were marked forkable */
     for (tmp = ctx->events; tmp; tmp = tmp->next) {
         tmp->actual = tmp->flags;
-        tmp->modpriv = ctx->funcs.ctx_add(ctx, tmp, &tmp->actual);
+        tmp->modpriv = ctx->funcs.ctx_add(ctx->modpriv, tmp, &tmp->actual);
         assert(tmp->modpriv);
     }
 }




More information about the cvs-krb5 mailing list