From 64cf0d33d78f29244302c3a189f97d4348ccda0a Mon Sep 17 00:00:00 2001 From: PixieCore <41352111+IcePixelx@users.noreply.github.com> Date: Sat, 25 Jun 2022 00:10:36 +0200 Subject: [PATCH] Fixed convention naming in PatternToBytesAndMask. --- r5dev/public/utility.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/r5dev/public/utility.cpp b/r5dev/public/utility.cpp index a9fe2f02..34f8025e 100644 --- a/r5dev/public/utility.cpp +++ b/r5dev/public/utility.cpp @@ -672,7 +672,7 @@ pair, string> PatternToBytesAndMask(const string& svInput) char* pszPatternStart = const_cast(svInput.c_str()); char* pszPatternEnd = pszPatternStart + strlen(svInput.c_str()); vector vBytes = vector{ }; - string szMask = string(); + string svMask = string(); for (char* pszCurrentByte = pszPatternStart; pszCurrentByte < pszPatternEnd; ++pszCurrentByte) { @@ -684,15 +684,15 @@ pair, string> PatternToBytesAndMask(const string& svInput) ++pszCurrentByte; // Skip double wildcard. } vBytes.push_back(0); // Push the byte back as invalid. - szMask.append("?"); + svMask.append("?"); } else { vBytes.push_back(strtoul(pszCurrentByte, &pszCurrentByte, 16)); - szMask.append("x"); + svMask.append("x"); } } - return make_pair(vBytes, szMask); + return make_pair(vBytes, svMask); }; ///////////////////////////////////////////////////////////////////////////////