chiark / gitweb /
Support schedule-* commands from command-line client. Exiguously tested.
[disorder] / server / schedule.c
index 47cb6aa93dc197434bd868190cbbc3688d5d612c..7776c3c0486036fe1a912662a6a655bd632c3c54 100644 (file)
@@ -363,6 +363,7 @@ char **schedule_list(int *neventsp) {
   int e;
   struct vector v[1];
 
+  vector_init(v);
   WITH_TRANSACTION(trackdb_listkeys(trackdb_scheduledb, v, tid));
   if(neventsp)
     *neventsp = v->nvec;