mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-21 07:57:10 +00:00
Fix bug with BP and not having a trailing slash by default
This commit is contained in:
1 parent
7a4b24d616
commit
f27d3c6120
3 files changed
+8
-9
No files matched your search
+2
-2
@@ -236,7 +236,7 @@ namespace Utils {
|
||||
for (size_t i = 0; i < sha256_len; i++) {
|
||||
char buf[3];
|
||||
sprintf(buf, "%02x", sha256_value[i]);
|
||||
buf[2] = NULL;
|
||||
buf[2] = '\0';
|
||||
result += buf;
|
||||
}
|
||||
return result;
|
||||
@@ -280,7 +280,7 @@ namespace Utils {
|
||||
for (size_t i = 0; i < sha256_len; i++) {
|
||||
char buf[3];
|
||||
sprintf(buf, "%02x", sha256_value[i]);
|
||||
buf[2] = NULL;
|
||||
buf[2] = '\0';
|
||||
result += buf;
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user