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:
Dirk Hohndel 2011-09-15 07:08:57 -07:00 committed by Linus Torvalds
parent 518ec33ba3
commit 9ddef6854e

View file

@ -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: