Bladeren bron

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.
comex 3 jaren geleden
bovenliggende
commit
8905142f43
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      src/core/hle/service/ssl/ssl_backend_openssl.cpp

+ 2 - 2
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;
         }
     }