diff options
Diffstat (limited to 'common/rfb/SConnection.h')
-rw-r--r-- | common/rfb/SConnection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index 5bc61677..fb3ae15a 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -71,7 +71,7 @@ namespace rfb { // later, after queryConnection() has returned. It can only be called when // in state RFBSTATE_QUERYING. On rejection, an AuthFailureException is // thrown, so this must be handled appropriately by the caller. - void approveConnection(bool accept, const char* reason=0); + void approveConnection(bool accept, const char* reason=nullptr); // Methods to terminate the connection |