mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -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)
|
||||
continue;
|
||||
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;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue