make the whole stuff run and clean it self up again

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@8 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-06-11 21:30:16 +00:00
parent aae40dcea2
commit 7dfeb1fc74
11 changed files with 189 additions and 104 deletions

View file

@ -85,7 +85,7 @@ int module_init(struct core *c, struct module*m) {
mkfifo((p = m->argument ? m->argument : "/tmp/musicfifo"), 0777);
if ((fd = open(p, O_RDWR) < 0)) {
if ((fd = open(p, O_RDWR)) < 0) {
fprintf(stderr, "open('%s'): %s\n", p, strerror(errno));
goto fail;
}