diff options
| author | 2023-06-25 13:07:40 -0700 | |
|---|---|---|
| committer | 2023-06-25 13:10:41 -0700 | |
| commit | 8905142f4362e06bd8f0a35cf9887d5110c1f308 (patch) | |
| tree | 1ec9ab6f56396c6275c741f0f2bad85952925258 /src | |
| parent | socket_types: Improve comment (diff) | |
| download | yuzu-8905142f4362e06bd8f0a35cf9887d5110c1f308.tar.gz yuzu-8905142f4362e06bd8f0a35cf9887d5110c1f308.tar.xz yuzu-8905142f4362e06bd8f0a35cf9887d5110c1f308.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/ssl/ssl_backend_openssl.cpp | 4 |
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: | |||
| 226 | } | 226 | } |
| 227 | } | 227 | } |
| 228 | 228 | ||
| 229 | static long CtrlCallback(BIO* bio, int cmd, long larg, void* parg) { | 229 | static long CtrlCallback(BIO* bio, int cmd, long l_arg, void* p_arg) { |
| 230 | switch (cmd) { | 230 | switch (cmd) { |
| 231 | case BIO_CTRL_FLUSH: | 231 | case BIO_CTRL_FLUSH: |
| 232 | // Nothing to flush. | 232 | // Nothing to flush. |
| @@ -239,7 +239,7 @@ public: | |||
| 239 | // as they're nothing unusual. | 239 | // as they're nothing unusual. |
| 240 | return 0; | 240 | return 0; |
| 241 | default: | 241 | default: |
| 242 | LOG_DEBUG(Service_SSL, "OpenSSL BIO got ctrl({}, {}, {})", cmd, larg, parg); | 242 | LOG_DEBUG(Service_SSL, "OpenSSL BIO got ctrl({}, {}, {})", cmd, l_arg, p_arg); |
| 243 | return 0; | 243 | return 0; |
| 244 | } | 244 | } |
| 245 | } | 245 | } |