Skip to content

Commit

Permalink
Missing array structure serialisation in array read method
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-hamel committed Sep 19, 2017
1 parent cae46e3 commit e48c77a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/eratosthene-array.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@
/* check failure */
if ( le_fail < _LE_USE_RETRY ) {

/* serialise array size */
le_array->ar_csize = ( ( le_size_t * ) le_array->ar_rbyte )[1];

/* return array mode */
return( le_array->ar_rbyte[LE_ARRAY_HEADER_SIZE] );

Expand Down

0 comments on commit e48c77a

Please sign in to comment.