summaryrefslogtreecommitdiffstats
path: root/uemis.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-29 18:01:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-29 18:01:58 -0700
commit529412aa379ead5beaa9e66c19fbc127d24b9ed4 (patch)
treeda9d9541235f87a9cd5bec3830c12f1093378051 /uemis.c
parentcbcfcddfb167ac242b27d253b9d8f36e78255865 (diff)
downloadsubsurface-529412aa379ead5beaa9e66c19fbc127d24b9ed4.tar.gz
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>
Diffstat (limited to 'uemis.c')
-rw-r--r--uemis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis.c b/uemis.c
index c390aae3b..980c1827c 100644
--- a/uemis.c
+++ b/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;
}