rtpoll: Fix build error when building with DEBUG_TIMING
authorjungsup lee <jungsup4.lee@samsung.com>
Wed, 6 Jan 2016 05:18:50 +0000 (14:18 +0900)
committerArun Raghavan <git@arunraghavan.net>
Thu, 7 Jan 2016 12:31:20 +0000 (18:01 +0530)
This typo causes a build error when DEBUG_TIMING is defined.
Signed-off-by: jungsup lee <jungsup4.lee@samsung.com>
src/pulsecore/rtpoll.c

index 13c8677..98cf88f 100644 (file)
@@ -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");