diff --git a/src/bash/filter.sh b/src/bash/filter.sh old mode 100644 new mode 100755 diff --git a/src/bash/filterTest.sh b/src/bash/filterTest.sh old mode 100644 new mode 100755 diff --git a/src/cpp/eMailShrinker.cpp b/src/cpp/eMailShrinker.cpp index cf76cd8..21a12a8 100644 --- a/src/cpp/eMailShrinker.cpp +++ b/src/cpp/eMailShrinker.cpp @@ -33,8 +33,8 @@ //////////////////////////////////////////////////////////////////////////// #include "version.hpp" -const std::string kaz::LAST_VERSION_NUM ("2.12"); -const std::string kaz::LAST_VERSION_DATE ("2022-12-27"); +const std::string kaz::LAST_VERSION_NUM ("2.13"); +const std::string kaz::LAST_VERSION_DATE ("2022-12-28"); const std::string kaz::LAST_VERSION (LAST_VERSION_NUM+" "+LAST_VERSION_DATE+" eMailShrinker"); #include diff --git a/src/cpp/kazMisc.cpp b/src/cpp/kazMisc.cpp index ff9cbfb..1fc1f97 100644 --- a/src/cpp/kazMisc.cpp +++ b/src/cpp/kazMisc.cpp @@ -292,7 +292,7 @@ kaz::base64Decode (string &content) { continue; } - if (isBase64 (c)) { + if (!isBase64 (c)) { content.resize (lastOK-content.begin ()); LOG ("kazMisc::base64Decode bug: bad base64 format. (content: " << content << ")"); }