mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	protocol: don't log error on disconnect
Just log an info message on disconnect. Fixes #33
This commit is contained in:
		
							parent
							
								
									c06d775ddc
								
							
						
					
					
						commit
						95727d3b01
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -281,7 +281,7 @@ connection_data(void *data, int fd, enum spa_io mask)
 | 
			
		|||
	struct pw_client *client = this->client;
 | 
			
		||||
 | 
			
		||||
	if (mask & (SPA_IO_ERR | SPA_IO_HUP)) {
 | 
			
		||||
		pw_log_error("protocol-native %p: got connection error", client->protocol);
 | 
			
		||||
		pw_log_info("protocol-native %p: client %p disconnected", client->protocol, client);
 | 
			
		||||
		pw_client_destroy(client);
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue