Commit 9e0eaad1 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Another bugfix.

parent 087dbfff
......@@ -1026,6 +1026,7 @@ startrun_callback(event_handle_t handle,
{
struct proginfo *pinfo;
char event[TBDB_FLEN_EVEVENTTYPE];
char objname[TBDB_FLEN_EVOBJTYPE];
assert(handle != NULL);
assert(notification != NULL);
......@@ -1036,6 +1037,14 @@ startrun_callback(event_handle_t handle,
error("Could not get event from notification!\n");
return;
}
if (! event_notification_get_objname(handle, notification,
objname, sizeof(objname))) {
error("Could not get objname from notification!\n");
return;
}
/* XXX Ignore events that are not to ALL. */
if (strcmp(objname, ADDRESSTUPLE_ALL))
return;
/*
* XXX Both of these need to send completion events
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment