summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjungsup lee <jungsup4.lee@samsung.com>2016-01-06 14:18:50 +0900
committerArun Raghavan <git@arunraghavan.net>2016-01-07 18:01:20 +0530
commit13664cd977994dc95b0276693b836fcb69e694b5 (patch)
tree77000afe638d4283b407f58663a59b7dcb8c258d
parent19c71ce85149fa75bc14875d0bb9c9358af57dc7 (diff)
downloadpulseaudio-13664cd977994dc95b0276693b836fcb69e694b5.tar.gz
rtpoll: Fix build error when building with DEBUG_TIMING
This typo causes a build error when DEBUG_TIMING is defined. Signed-off-by: jungsup lee <jungsup4.lee@samsung.com>
-rw-r--r--src/pulsecore/rtpoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/rtpoll.c b/src/pulsecore/rtpoll.c
index 13c8677ad..98cf88ff2 100644
--- a/src/pulsecore/rtpoll.c
+++ b/src/pulsecore/rtpoll.c
@@ -298,7 +298,7 @@ int pa_rtpoll_run(pa_rtpoll *p) {
p->timestamp = now;
if (!p->quit && p->timer_enabled)
pa_log("poll timeout: %d ms ",(int) ((timeout.tv_sec*1000) + (timeout.tv_usec / 1000)));
- else if (q->quit)
+ else if (p->quit)
pa_log("poll timeout is ZERO");
else
pa_log("poll timeout is FOREVER");