mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: hsp case, check l for appropriate error message
This commit is contained in:
		
							parent
							
								
									656fc6660f
								
							
						
					
					
						commit
						fa736887f4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -921,7 +921,7 @@ static int hsp_process_push(struct userdata *u) {
 | 
				
			||||||
            if (l < 0 && errno == EINTR)
 | 
					            if (l < 0 && errno == EINTR)
 | 
				
			||||||
                continue;
 | 
					                continue;
 | 
				
			||||||
            else {
 | 
					            else {
 | 
				
			||||||
                pa_log_error("Failed to read data from SCO socket: %s", ret < 0 ? pa_cstrerror(errno) : "EOF");
 | 
					                pa_log_error("Failed to read data from SCO socket: %s", l < 0 ? pa_cstrerror(errno) : "EOF");
 | 
				
			||||||
                ret = -1;
 | 
					                ret = -1;
 | 
				
			||||||
                break;
 | 
					                break;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue