[pulseaudio-commits] r1215 - /trunk/src/modules/dbus-util.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Aug 12 05:07:26 PDT 2006


Author: lennart
Date: Sat Aug 12 14:07:22 2006
New Revision: 1215

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1215&root=pulseaudio&view=rev
Log:
fix pa_gettimeofday() return value testing

Modified:
    trunk/src/modules/dbus-util.c

Modified: trunk/src/modules/dbus-util.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/dbus-util.c?rev=1215&root=pulseaudio&r1=1214&r2=1215&view=diff
==============================================================================
--- trunk/src/modules/dbus-util.c (original)
+++ trunk/src/modules/dbus-util.c Sat Aug 12 14:07:22 2006
@@ -175,7 +175,7 @@
     if (!dbus_timeout_get_enabled(timeout))
         return FALSE;
 
-    if (pa_gettimeofday(&tv) < 0)
+    if (!pa_gettimeofday(&tv))
         return -1;
 
     pa_timeval_add(&tv, dbus_timeout_get_interval(timeout) * 1000);




More information about the pulseaudio-commits mailing list