diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-08-12 12:07:22 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-08-12 12:07:22 +0000 |
commit | 2d702715f7f1b2158a50d5c838b0bad0487b42fd (patch) | |
tree | 72ae7a173ce27a7c0b6e4aaec51a69edfa6b3bec /src/modules | |
parent | adfa76c43388c6b6895ea7cdd3c307c90933cd91 (diff) | |
download | pulseaudio-2d702715f7f1b2158a50d5c838b0bad0487b42fd.tar.gz |
fix pa_gettimeofday() return value testing
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1215 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/dbus-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/dbus-util.c b/src/modules/dbus-util.c index c9cdf114d..e4bd2c3ec 100644 --- a/src/modules/dbus-util.c +++ b/src/modules/dbus-util.c @@ -175,7 +175,7 @@ static dbus_bool_t add_timeout(DBusTimeout *timeout, void *data) 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); |