summaryrefslogtreecommitdiffstats
path: root/polyp/module-native-protocol-fd.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-04 00:27:36 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-04 00:27:36 +0000
commit57e473b61cf373f8d9befb03d359b999eca4262b (patch)
tree0c4d0798db9c4ecf4804aaaff60e9fe8b30ac0f6 /polyp/module-native-protocol-fd.c
parentfb962b67dbeb54d1cdd453c6f902b7c679b9197f (diff)
add support for automatic termination of the daemon after the last client quit
remove all gcc warnings add boolean types for tagstruct and modargs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@178 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/module-native-protocol-fd.c')
-rw-r--r--polyp/module-native-protocol-fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/module-native-protocol-fd.c b/polyp/module-native-protocol-fd.c
index 58d09ffe..213e291e 100644
--- a/polyp/module-native-protocol-fd.c
+++ b/polyp/module-native-protocol-fd.c
@@ -50,7 +50,7 @@ int pa_module_init(struct pa_core *c, struct pa_module*m) {
goto finish;
}
- if (pa_modargs_get_value_u32(ma, "fd", &fd) < 0) {
+ if (pa_modargs_get_value_s32(ma, "fd", &fd) < 0) {
fprintf(stderr, __FILE__": invalid file descriptor.\n");
goto finish;
}