mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	Use so._closesocket instead of socket (compilation issues on non-Windows)
This commit is contained in:
		
							parent
							
								
									770a82bbf3
								
							
						
					
					
						commit
						1daa8a4736
					
				@ -714,7 +714,7 @@ int checkACL2(struct clientparam * param, int pre){
 | 
			
		||||
						dup = *acentry;
 | 
			
		||||
						res = handleredirect(param, &dup);
 | 
			
		||||
						if(!res) break;
 | 
			
		||||
						if(param->remsock != INVALID_SOCKET) closesocket(param->remsock);
 | 
			
		||||
						if(param->remsock != INVALID_SOCKET) so._closesocket(param->remsock);
 | 
			
		||||
						param->remsock = INVALID_SOCKET;
 | 
			
		||||
					}
 | 
			
		||||
					return res;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user