aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/sentryintegration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/sentryintegration.cpp')
-rw-r--r--src/zenserver/sentryintegration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/sentryintegration.cpp b/src/zenserver/sentryintegration.cpp
index 05e80bb17..11bf78a75 100644
--- a/src/zenserver/sentryintegration.cpp
+++ b/src/zenserver/sentryintegration.cpp
@@ -242,7 +242,7 @@ SentryIntegration::Initialize(std::string SentryDatabasePath, std::string Sentry
OK = GetComputerNameA(Buffer, &BufferLength);
if (OK && BufferLength)
{
- m_SentryHostName = std::string(Buffer, BufferLength - 1);
+ m_SentryHostName = std::string(Buffer, BufferLength);
}
else
{