From 13664cd977994dc95b0276693b836fcb69e694b5 Mon Sep 17 00:00:00 2001 From: jungsup lee Date: Wed, 6 Jan 2016 14:18:50 +0900 Subject: [PATCH] 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 --- src/pulsecore/rtpoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");