Commit a0f77bf6 authored by Sebastien Timmermans's avatar Sebastien Timmermans 🎹

[Fix] dirdyn results was no more printed, changed in mbs_dirdyn.c

parent d004d058
Pipeline #4340 passed with stage
in 9 minutes and 3 seconds
......@@ -598,11 +598,12 @@ void mbs_dirdyn_finish(MbsDirdyn* dd, MbsData* mbs_data){
int mbs_dirdyn_write_buffers(MbsDirdyn* dd){
int i;
int i, err =0;
for (i=0 ; i < dd->bufferNb ; i++){
return mbs_buffer_write(dd->buffers[i]);
err = mbs_buffer_write(dd->buffers[i]);
if (err < 0) { return err; }
}
return 0;
return err;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
......
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