Browse Source

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.
nce_cpp
comex 3 years ago
parent
commit
7fc1efe740
  1. 4
      src/core/hle/service/ssl/ssl_backend_openssl.cpp

4
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) { switch (cmd) {
case BIO_CTRL_FLUSH: case BIO_CTRL_FLUSH:
// Nothing to flush. // Nothing to flush.
@ -239,7 +239,7 @@ public:
// as they're nothing unusual. // as they're nothing unusual.
return 0; return 0;
default: 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; return 0;
} }
} }

Loading…
Cancel
Save