Commit 75e32fdf authored by Leigh Stoller's avatar Leigh Stoller

Minor fix; when no events, do not bail! Make sure the TIMESTART event

is sent anyway!
parent 8b8ec591
......@@ -433,11 +433,7 @@ get_static_events(event_handle_t handle)
error("getting static event list for %s/%s", pid, eid);
return 0;
}
if ((nrows = (int)mysql_num_rows(res)) == 0) {
mysql_free_result(res);
return 1;
}
nrows = (int) mysql_num_rows(res);
/*
* Construct an address tuple for the notifications. We can reuse
......
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