mirror of
				https://github.com/rofl0r/proxychains-ng.git
				synced 2025-11-04 09:06:05 +00:00 
			
		
		
		
	add check for broken OpenBSD fclose()
http://marc.info/?l=openbsd-bugs&m=145280872431093&w=2 closes #95
This commit is contained in:
		@@ -290,7 +290,9 @@ static void get_chain_data(proxy_data * pd, unsigned int *proxy_count, chain_typ
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
#ifndef BROKEN_FCLOSE
 | 
			
		||||
	fclose(file);
 | 
			
		||||
#endif
 | 
			
		||||
	if(!count) {
 | 
			
		||||
		fprintf(stderr, "error: no valid proxy found in config\n");
 | 
			
		||||
		exit(1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user