mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pw-cli: Make 'dump' type arg case-insensitive
This commit is contained in:
		
							parent
							
								
									e334c5862e
								
							
						
					
					
						commit
						2931522d2c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2039,7 +2039,7 @@ static const char *name_to_dump_type(const char *name)
 | 
			
		|||
		return NULL;
 | 
			
		||||
 | 
			
		||||
	for (i = 0; i < SPA_N_ELEMENTS(dump_types); i++) {
 | 
			
		||||
		if (!strcmp(name, pw_interface_short(dump_types[i])))
 | 
			
		||||
		if (!strcasecmp(name, pw_interface_short(dump_types[i])))
 | 
			
		||||
			return dump_types[i];
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue