mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: fix remove proplist command
`command` is never equal to `COMMAND_UPDATE_CLIENT_PROPLIST`, instead, the check should be against `COMMAND_REMOVE_CLIENT_PROPLIST`.
This commit is contained in:
		
							parent
							
								
									d7c54b3d82
								
							
						
					
					
						commit
						7d6fc0f544
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -3250,7 +3250,7 @@ static int do_remove_proplist(struct client *client, uint32_t command, uint32_t
 | 
			
		|||
		items[i].value = NULL;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (command != COMMAND_UPDATE_CLIENT_PROPLIST) {
 | 
			
		||||
	if (command != COMMAND_REMOVE_CLIENT_PROPLIST) {
 | 
			
		||||
		struct stream *stream = pw_map_lookup(&client->streams, channel);
 | 
			
		||||
		if (stream == NULL || stream->type == STREAM_TYPE_UPLOAD)
 | 
			
		||||
			return -ENOENT;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue