diff options
Diffstat (limited to 'src/io/base64stream.cpp')
| -rw-r--r-- | src/io/base64stream.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/io/base64stream.cpp b/src/io/base64stream.cpp index c90f3760b..0a28a8cc3 100644 --- a/src/io/base64stream.cpp +++ b/src/io/base64stream.cpp @@ -1,4 +1,4 @@ -/** +/* * Base64-enabled input and output streams * * This class allows easy encoding and decoding @@ -51,12 +51,15 @@ static int base64decode[] = * */ Base64InputStream::Base64InputStream(InputStream &sourceStream) - : BasicInputStream(sourceStream) + : BasicInputStream(sourceStream), + outCount(0), + padCount(0), + done(false) { - outCount = 0; - padCount = 0; - closed = false; - done = false; + for (int k=0;k<3;k++) + { + outBytes[k]=0; + } } /** |
