Skip to contentSkip to conversation

Fix: pulse_pcm_poll_revents should return 0 on success

PATCH New [email protected] 1 participant 1 message Feb 26, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1361852653-6656-1-git-send-email-me

#1 lore raw

PATCH 1/1 Fix: pulse_pcm_poll_revents should return 0 on success

From: Sander Jansen <[email protected]>

---
 pulse/pcm_pulse.c | 2 ++
 1 file changed, 2 insertions(+)
pulse/pcm_pulse.c +2 -0
index 4226d30..0d3704b 100644
@@ -651,6 +651,8 @@ static int pulse_pcm_poll_revents(snd_pcm_ioplug_t * io,
 	else
 		*revents = 0;
 
+	err = 0;
+
 finish:
 
 	pa_threaded_mainloop_unlock(pcm->p->mainloop);
Signature · 1 line
1.8.1.4