[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.13-1-gc8a963a

Lennart Poettering gitmailer-noreply at 0pointer.de
Mon Oct 6 17:01:47 PDT 2008


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The master branch has been updated
      from  fa93cb71e83df6ee9e91d04687829a049ea18ec5 (commit)

- Log -----------------------------------------------------------------
c8a963a... Initialize exit_idle_time to -1 instead of 0  when in system mode.
-----------------------------------------------------------------------

Summary of changes:
 src/daemon/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------

commit c8a963af0270c5fbc125ea34da6538198f524189
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 7 02:00:07 2008 +0200

    Initialize exit_idle_time to -1 instead of 0  when in system mode.
    
    Spotted by Rafał Mużyło.

diff --git a/src/daemon/main.c b/src/daemon/main.c
index fad635f..bc8bc63 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -646,9 +646,9 @@ int main(int argc, char *argv[]) {
         conf->disable_shm = TRUE;
     }
 
-    if (conf->system_instance && conf->exit_idle_time > 0) {
+    if (conf->system_instance && conf->exit_idle_time >= 0) {
         pa_log_notice(_("Running in system mode, forcibly disabling exit idle time!"));
-        conf->exit_idle_time = 0;
+        conf->exit_idle_time = -1;
     }
 
     if (conf->cmd == PA_CMD_START) {

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list