diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-25 08:25:42 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-25 08:25:42 (GMT) |
commit | 2ae890547ab92eefa31307b48676917b5fb15871 (patch) | |
tree | 6b4b10e61de6885707065c0bdf9e23bbdc820a57 /src/lib/tng_io_fortran.c | |
parent | 3ba1ce617e1fac04bffe6a7f9aef5b32eace8b69 (diff) |
Check that writing frequency is OK before setting it.
In the high-level API return TNG_FAILURE if the specified
writing frequency is <= 0. Also give an error message.
In the low-level API this is silently fixed by setting it
to at least 1.
Fixes #1366.
Diffstat (limited to 'src/lib/tng_io_fortran.c')
0 files changed, 0 insertions, 0 deletions