mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 12:42:26 +00:00
Tweak inspect message test
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
106fb2aeea
commit
650cd53fbd
@ -6,7 +6,7 @@
|
||||
the Free Software Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY except by those people which sell it, which
|
||||
but WITHOUT ANY WARRANTY except by those people who sell it, which
|
||||
are required to give you total support for your newly bought product;
|
||||
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
@ -40,7 +40,7 @@ private:
|
||||
InspectMessage_Struct incoming{};
|
||||
InspectMessage_Struct stored{};
|
||||
|
||||
std::string long_text(300, 'A');
|
||||
std::string long_text(sizeof(incoming.text) + 44, 'A');
|
||||
strn0cpy(incoming.text, long_text.c_str(), sizeof(incoming.text));
|
||||
strn0cpy(stored.text, incoming.text, sizeof(stored.text));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user