yuzu-emu
/
yuzu
Archived
1
0
Fork 0

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.
This commit is contained in:
comex 2023-06-25 13:07:40 -07:00
parent 7cc428ddf6
commit 8905142f43
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}