[Scummvm-git-logs] scummvm master -> aaed15d308ddca2eefb9fdb11ca3b8174b97f4cd
lotharsm
serra at scummvm.org
Fri Oct 25 18:53:02 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
aaed15d308 SCUMM HE: Fix call to strlcpy
Commit: aaed15d308ddca2eefb9fdb11ca3b8174b97f4cd
https://github.com/scummvm/scummvm/commit/aaed15d308ddca2eefb9fdb11ca3b8174b97f4cd
Author: Lothar Serra Mari (serra at scummvm.org)
Date: 2019-10-25T18:52:26+02:00
Commit Message:
SCUMM HE: Fix call to strlcpy
Changed paths:
engines/scumm/he/moonbase/net_main.cpp
diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp
index acd1176..6ae84ce 100644
--- a/engines/scumm/he/moonbase/net_main.cpp
+++ b/engines/scumm/he/moonbase/net_main.cpp
@@ -394,7 +394,7 @@ void Net::getSessionName(int sessionNumber, char *buffer, int length) {
return;
}
- strlcpy(buffer, _sessions->child(sessionNumber)->child("name")->asString().c_str(), length);
+ Common::strlcpy(buffer, _sessions->child(sessionNumber)->child("name")->asString().c_str(), length);
}
int Net::getSessionPlayerCount(int sessionNumber) {
More information about the Scummvm-git-logs
mailing list