summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2021-03-07 17:14:31 -0500
committerAndras Timar <andras.timar@collabora.com>2022-04-21 11:34:59 +0200
commite8d092012a0a13e41af683b8ea75b45724b0cdf6 (patch)
tree2a3bbb57e82eb167785c700d3a66d3668110fdaf /net
parentwsd: kill coolwsd_fuzzer (diff)
downloadonline-e8d092012a0a13e41af683b8ea75b45724b0cdf6.tar.gz
online-e8d092012a0a13e41af683b8ea75b45724b0cdf6.zip
wsd: remove argument default-value
Single-use default argument. Change-Id: I1085465c0dbdf6cbda934277feca61781b67f45c Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
Diffstat (limited to 'net')
-rw-r--r--net/WebSocketHandler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/WebSocketHandler.hpp b/net/WebSocketHandler.hpp
index f5d5b00acf..b8a5361289 100644
--- a/net/WebSocketHandler.hpp
+++ b/net/WebSocketHandler.hpp
@@ -626,8 +626,8 @@ public:
/// Sends a WebSocket message of WPOpCode type.
/// Returns the number of bytes written (including frame overhead) on success,
- /// 0 for closed/invalid socket, and -1 for other errors.
- int sendMessage(const char* data, const size_t len, const WSOpCode code, const bool flush = true) const
+ /// 0 for closed socket, and -1 for other errors.
+ int sendMessage(const char* data, const size_t len, const WSOpCode code, const bool flush) const
{
int unitReturn = -1;
if (!Util::isFuzzing() && UnitBase::get().filterSendMessage(data, len, code, flush, unitReturn))