diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-03 15:20:37 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-03 15:20:37 (GMT) |
commit | 988a65e6f426b701a616c89e37fafedc6e6a7e39 (patch) | |
tree | efcd965b147f00b0c917b86ec920c45db011cab3 /src/lib/tng_io.c | |
parent | 5ce8e5a949c987d52c6bf1cc1b58e6260b48b002 (diff) |
Bug fix.
Diffstat (limited to 'src/lib/tng_io.c')
-rw-r--r-- | src/lib/tng_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 9866a80..eb8df68 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -17925,7 +17925,8 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_next_frame_present_dat TNG_ASSERT(tng_data, "TNG library: Trajectory container not properly setup."); TNG_ASSERT(next_frame, "TNG library: The pointer to the next frame must not be NULL."); - TNG_ASSERT(data_block_ids_in_next_frame == 0, "TNG library: The pointer to the list of data block IDs must be NULL."); + TNG_ASSERT(n_data_blocks_in_next_frame, "TNG library: The pointer to n_data_blocks_in_next_frame must not be NULL."); + TNG_ASSERT(*data_block_ids_in_next_frame == 0, "TNG library: The pointer to the list of data block IDs must be NULL."); if(n_requested_data_block_ids) { |