Fix uemis parser to work with base64 data that isn't a multiple of 3

I had forgotten the '=' sign as valid character in base64 code

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2011-09-29 18:01:58 -07:00
parent cbcfcddfb1
commit 529412aa37

View file

@ -245,7 +245,7 @@ parse_uemis_file(char *divelogfilename) {
dive->maxdepth.mm = pressure_to_depth(atoi(found));
if (! matchit(divelogfile,"<val key=\"file_content\">",
">\\([a-zA-Z0-9+/]*\\)<", &found)) {
">\\([a-zA-Z0-9+/=]*\\)<", &found)) {
/* some error handling */
goto bail;
}