diff options
Diffstat (limited to 'protocols/Steam/src/http_request.h')
-rw-r--r-- | protocols/Steam/src/http_request.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h index f6fe0d10ab..64849f2983 100644 --- a/protocols/Steam/src/http_request.h +++ b/protocols/Steam/src/http_request.h @@ -329,7 +329,9 @@ public: int GetStatusCode() const { - return m_response->resultCode; + return m_response + ? m_response->resultCode + : 0; } }; |