Browse Source

[3899] Added missing space in invalid padding error message

Francis Dupont 10 years ago
parent
commit
5d3012f8be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/util/encode/base_n.cc

+ 1 - 1
src/lib/util/encode/base_n.cc

@@ -365,7 +365,7 @@ BaseNTransformer<BitsPerChunk, BaseZeroCode, Encoder, Decoder>::decode(
     // 0      7 (bits)
     // The following check rejects this type of invalid encoding.
     if (padbits > BitsPerChunk * (padchars + 1)) {
-        isc_throw(BadValue, "Invalid " << algorithm << "padding: " << input);
+        isc_throw(BadValue, "Invalid " << algorithm << " padding: " << input);
     }
 
     // convert the number of bits in bytes for convenience.