mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	connection: don't error when not enough data
When there is not enough data available yet, don't fail but try again next time.
This commit is contained in:
		
							parent
							
								
									ffd7b5a743
								
							
						
					
					
						commit
						3315de187c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -144,7 +144,7 @@ static bool refill_buffer(struct pw_protocol_native_connection *conn, struct buf
 | 
			
		|||
		if (len < 0) {
 | 
			
		||||
			if (errno == EINTR)
 | 
			
		||||
				continue;
 | 
			
		||||
			else
 | 
			
		||||
			if (errno != EAGAIN || errno != EWOULDBLOCK)
 | 
			
		||||
				goto recv_error;
 | 
			
		||||
		}
 | 
			
		||||
		break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue