summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2023-06-25 13:07:40 -0700
committercomex <comexk@gmail.com>2023-06-25 13:10:41 -0700
commit8905142f4362e06bd8f0a35cf9887d5110c1f308 (patch)
tree1ec9ab6f56396c6275c741f0f2bad85952925258
parent7cc428ddf67a9b9c4f703bcc294a72ffdfe36e08 (diff)
ssl: rename argument to avoid false positive codespell warning
The original name `larg` was copied from the OpenSSL documentation and is not a typo of 'large' but rather an abbreviation of '`long` argument'. But whatever, no harm in adding an underscore.
-rw-r--r--src/core/hle/service/ssl/ssl_backend_openssl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ssl/ssl_backend_openssl.cpp b/src/core/hle/service/ssl/ssl_backend_openssl.cpp
index cf9b904ac..edbf0ad3e 100644
--- a/src/core/hle/service/ssl/ssl_backend_openssl.cpp
+++ b/src/core/hle/service/ssl/ssl_backend_openssl.cpp
@@ -226,7 +226,7 @@ public:
}
}
- static long CtrlCallback(BIO* bio, int cmd, long larg, void* parg) {
+ static long CtrlCallback(BIO* bio, int cmd, long l_arg, void* p_arg) {
switch (cmd) {
case BIO_CTRL_FLUSH:
// Nothing to flush.
@@ -239,7 +239,7 @@ public:
// as they're nothing unusual.
return 0;
default:
- LOG_DEBUG(Service_SSL, "OpenSSL BIO got ctrl({}, {}, {})", cmd, larg, parg);
+ LOG_DEBUG(Service_SSL, "OpenSSL BIO got ctrl({}, {}, {})", cmd, l_arg, p_arg);
return 0;
}
}