diff options
author | Thomas White <taw@physics.org> | 2020-06-10 16:38:51 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:44 +0200 |
commit | 6d6cf54f7eb8597d64aa8f36d57ffd8b0103f644 (patch) | |
tree | cf6212393871a9c61e7699d940b4e573db0236d4 /libcrystfel/src/stream.c | |
parent | 914c4806d427e7e33ff6fb4e7a5cdaa21c3c11a3 (diff) |
Tidy up
Regarding check_path_existence: This was a very complicated procedure,
for not very much gain. The attempt to open a dataset for real, which
invariably follows, can still fail after this check.
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index b8433f31..7ddb6474 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -905,8 +905,8 @@ static void read_crystal(Stream *st, struct image *image, /** * Read the next chunk from a stream and fill in 'image' */ -int read_chunk(Stream *st, struct image *image, - const DataTemplate *dtempl, StreamFlags srf) +struct image *stream_read_chunk(Stream *st, const DataTemplate *dtempl, + StreamFlags srf) { char line[1024]; char *rval = NULL; |