diff options
author | Thomas White <taw@physics.org> | 2021-05-12 17:26:58 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-05-12 17:26:58 +0200 |
commit | ff7386623366bdc40bb2de7bbfdb4fee038f1071 (patch) | |
tree | 22229b8bcc4a2e7608b32eab0fdfb1f864a8b51a /libcrystfel/src | |
parent | c0485703d91bab94dfffd9f3b8d909c0c67b1989 (diff) |
Fix build without MsgPack (again)
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/image-msgpack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/image-msgpack.c b/libcrystfel/src/image-msgpack.c index 3410885e..a92fb49d 100644 --- a/libcrystfel/src/image-msgpack.c +++ b/libcrystfel/src/image-msgpack.c @@ -523,9 +523,9 @@ ImageFeatureList *image_msgpack_read_peaks(const DataTemplate *dtempl, int image_msgpack_read_header_to_cache(struct image *image, const char *name) { - ERROR("MessagePack is not supported in this installation (get_value).\n"); - *ptype = 'f'; - return NAN; + ERROR("MessagePack is not supported in this installation" + " (read_header_to_cache).\n"); + return 1; } |