diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-15 07:08:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-15 08:52:55 -0700 |
commit | 9ddef6854e8f54cd8d1431c15ba37c2c18d32ca7 (patch) | |
tree | 0861f428bf4e87fc53c330f5e7d50644f66e72f5 /uemis.c | |
parent | 518ec33ba3bf9c5e9966ef108c1673223337b0fa (diff) | |
download | subsurface-9ddef6854e8f54cd8d1431c15ba37c2c18d32ca7.tar.gz |
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>
Diffstat (limited to 'uemis.c')
-rw-r--r-- | uemis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |