mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fixed typos. (one of that courtesy of Sourav K. Mandal <smandal@uclink.berkeley.edu>
This commit is contained in:
		
							parent
							
								
									68f5980103
								
							
						
					
					
						commit
						2fb0fa541e
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
					@ -609,15 +609,14 @@ int _snd_ctl_shm_open(snd_ctl_t **handlep, char *name, snd_config_t *root, snd_c
 | 
				
			||||||
	err = snd_config_search_definition(root, "server", server, &sconfig);
 | 
						err = snd_config_search_definition(root, "server", server, &sconfig);
 | 
				
			||||||
	if (err < 0) {
 | 
						if (err < 0) {
 | 
				
			||||||
		SNDERR("Unknown server %s", server);
 | 
							SNDERR("Unknown server %s", server);
 | 
				
			||||||
		err = -EINVAL;
 | 
							return -EINVAL;
 | 
				
			||||||
		goto _err;
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if (snd_config_get_type(sconfig) != SND_CONFIG_TYPE_COMPOUND) {
 | 
						if (snd_config_get_type(sconfig) != SND_CONFIG_TYPE_COMPOUND) {
 | 
				
			||||||
		SNDERR("Invalid type for server %s definition", server);
 | 
							SNDERR("Invalid type for server %s definition", server);
 | 
				
			||||||
		err = -EINVAL;
 | 
							err = -EINVAL;
 | 
				
			||||||
		goto _err;
 | 
							goto _err;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	snd_config_for_each(i, next, conf) {
 | 
						snd_config_for_each(i, next, sconfig) {
 | 
				
			||||||
		snd_config_t *n = snd_config_iterator_entry(i);
 | 
							snd_config_t *n = snd_config_iterator_entry(i);
 | 
				
			||||||
		const char *id;
 | 
							const char *id;
 | 
				
			||||||
		if (snd_config_get_id(n, &id) < 0)
 | 
							if (snd_config_get_id(n, &id) < 0)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue