Make arguments explicit in all message writer methods
Make sure all methods only write what is given as arguments, and
avoid side effects by getting data from parameter objects. This keeps
things readable in the calling code.
diff --git a/common/rfb/CConnection.h b/common/rfb/CConnection.h
index 5f953ae..56e6d14 100644
--- a/common/rfb/CConnection.h
+++ b/common/rfb/CConnection.h
@@ -201,6 +201,7 @@
void securityCompleted();
void requestNewUpdate();
+ void updateEncodings();
rdr::InStream* is;
rdr::OutStream* os;