mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	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:
		@@ -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;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user