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
							
								
									cbe0c2f511
								
							
						
					
					
						commit
						c30065256f
					
				@ -712,7 +712,7 @@ int checkACL(struct clientparam * param){
 | 
			
		||||
					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