From 529412aa379ead5beaa9e66c19fbc127d24b9ed4 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 29 Sep 2011 18:01:58 -0700 Subject: [PATCH] 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 --- uemis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uemis.c b/uemis.c index c390aae..980c182 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,"", - ">\\([a-zA-Z0-9+/]*\\)<", &found)) { + ">\\([a-zA-Z0-9+/=]*\\)<", &found)) { /* some error handling */ goto bail; } -- 2.43.0