fixed initialization of pollfd
This commit is contained in:
		
							parent
							
								
									bc8dbfc9fd
								
							
						
					
					
						commit
						319e0ac8ce
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -139,7 +139,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
		return 1;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	struct pollfd pfd[2] = {{fd[0], POLLIN, NULL}, {fd[1], POLLIN, NULL}};
 | 
			
		||||
	struct pollfd pfd[2] = {{fd[0], POLLIN, 0}, {fd[1], POLLIN, 0}};
 | 
			
		||||
 | 
			
		||||
	fprintf(stderr, "SPTPS/TCP authenticate for %lg seconds: ", duration);
 | 
			
		||||
	for(clock_start(); clock_countto(duration);) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue