diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-29 18:01:58 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-09-29 18:01:58 -0700 |
commit | 529412aa379ead5beaa9e66c19fbc127d24b9ed4 (patch) | |
tree | da9d9541235f87a9cd5bec3830c12f1093378051 /uemis.c | |
parent | cbcfcddfb167ac242b27d253b9d8f36e78255865 (diff) | |
download | subsurface-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |