summaryrefslogtreecommitdiffstats
path: root/src/io/base64stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/base64stream.cpp')
-rw-r--r--src/io/base64stream.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/io/base64stream.cpp b/src/io/base64stream.cpp
index 0b20ef95a..0a28a8cc3 100644
--- a/src/io/base64stream.cpp
+++ b/src/io/base64stream.cpp
@@ -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;
+ }
}
/**