projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80a79b1
)
Initialize exit_idle_time to -1 instead of 0 when in system mode.
author
Lennart Poettering
<lennart@poettering.net>
Tue, 7 Oct 2008 00:00:07 +0000
(
02:00
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 7 Oct 2008 00:00:07 +0000
(
02:00
+0200)
Spotted by Rafał Mużyło.
src/daemon/main.c
patch
|
blob
|
history
diff --git
a/src/daemon/main.c
b/src/daemon/main.c
index
fad635f
..
bc8bc63
100644
(file)
--- 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) {