aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-19 21:26:35 +0100
committerDan Engelbrecht <[email protected]>2022-03-19 21:26:35 +0100
commit0a7f58717161ebc356d8ab44358fc82e5859eb5c (patch)
treeacfe36b8ab106da333fef0d3c7cc1930739567a3
parentAdded websocket stream request/response handling. (diff)
downloadzen-0a7f58717161ebc356d8ab44358fc82e5859eb5c.tar.xz
zen-0a7f58717161ebc356d8ab44358fc82e5859eb5c.zip
Missing return statement in websocket.h
-rw-r--r--zenhttp/include/zenhttp/websocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/include/zenhttp/websocket.h b/zenhttp/include/zenhttp/websocket.h
index 1280868ec..adca7e988 100644
--- a/zenhttp/include/zenhttp/websocket.h
+++ b/zenhttp/include/zenhttp/websocket.h
@@ -114,7 +114,7 @@ public:
void SetMessageType(WebSocketMessageType MessageType);
void SetCorrelationId(uint32_t Id) { m_Header.CorrelationId = Id; }
uint32_t CorrelationId() const { return m_Header.CorrelationId; }
- uint32_t StatusCode() const { m_Header.StatusCode; }
+ uint32_t StatusCode() const { return m_Header.StatusCode; }
void SetStatusCode(uint32_t StatusCode) { m_Header.StatusCode = StatusCode; }
WebSocketMessageType MessageType() const { return m_Header.MessageType; }