mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Fix incorrect data dereference
This caused incorrect "missing Dive100" messages when importing SDA file from the uemis Zurich. Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
518ec33ba3
commit
9ddef6854e
1 changed files with 1 additions and 1 deletions
2
uemis.c
2
uemis.c
|
@ -155,7 +155,7 @@ int uemis_convert_base64(char *base64, uint8_t **data) {
|
|||
}
|
||||
decode(base64, *data, len);
|
||||
|
||||
if (memcmp(data,"Dive\01\00\00",7))
|
||||
if (memcmp(*data,"Dive\01\00\00",7))
|
||||
fprintf(stderr,"Missing Dive100 header\n");
|
||||
|
||||
bail:
|
||||
|
|
Loading…
Add table
Reference in a new issue