aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/sentryintegration.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-11-24 09:33:03 +0100
committerDan Engelbrecht <[email protected]>2023-11-24 09:33:03 +0100
commitd605c80aa12eb75f123ca92663380aa00620291d (patch)
tree4ffc8f3c96aa576b07a100385d1a13a3e708aa77 /src/zenserver/sentryintegration.cpp
parentUpdated branding (#567) (diff)
downloadzen-d605c80aa12eb75f123ca92663380aa00620291d.tar.xz
zen-d605c80aa12eb75f123ca92663380aa00620291d.zip
fix truncation of sentry hostname
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
{