parent
							
								
									ad359d7a04
								
							
						
					
					
						commit
						0dccd8d373
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1005,6 +1005,8 @@ servlist_load (void)
 | 
			
		|||
	while (fgets (buf, sizeof (buf) - 2, fp))
 | 
			
		||||
	{
 | 
			
		||||
		len = strlen (buf);
 | 
			
		||||
		if (!len)
 | 
			
		||||
			continue;
 | 
			
		||||
		buf[len] = 0;
 | 
			
		||||
		buf[len-1] = 0;	/* remove the trailing \n */
 | 
			
		||||
		if (net)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue