Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add option --enable-coverage to test if code coverage is enable.
[simgrid.git] / tools / tesh / run_context.c
index 3d3aeb6..a0b20db 100644 (file)
@@ -811,6 +811,7 @@ void *rctx_wait(void *r)
                                  XBT_INFO("Remove line a[%d]='%s'",pos,data);
                                  rctx->output_got->used -= strlen(data)+1;
                                  xbt_dynar_remove_at(a,pos,data);
+                                 pos--;
                          }
 
                        }