mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
cbcfcddfb1
commit
529412aa37
1 changed files with 1 additions and 1 deletions
2
uemis.c
2
uemis.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue