aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-20 20:15:05 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-20 20:15:05 +0000
commitba798c5e657639a8eaa23236b180a3d83303be2b (patch)
tree9192509e13a97823a68c4b5696358ff1a2086b62 /src/main.c
parent6eb6c454be37c54a34fc871e21a9b1cc2ad41b89 (diff)
downloadmpd-ba798c5e657639a8eaa23236b180a3d83303be2b.tar.gz
mpd-ba798c5e657639a8eaa23236b180a3d83303be2b.tar.xz
mpd-ba798c5e657639a8eaa23236b180a3d83303be2b.zip
http proxy mostly working, need to implement http authentication
git-svn-id: https://svn.musicpd.org/mpd/trunk@1588 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 6737030a3..c34c71f5b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,6 +34,7 @@
#include "permission.h"
#include "replayGain.h"
#include "inputPlugin.h"
+#include "inputStream.h"
#include "../config.h"
#include <stdio.h>
@@ -420,9 +421,6 @@ int main(int argc, char * argv[]) {
establishListen(&options);
- /*
- * lose privileges as early as possible
- */
changeToUser(&options);
openLogFiles(&options, &out, &err);
@@ -443,6 +441,7 @@ int main(int argc, char * argv[]) {
initPlayerData();
initVolume();
initInterfaces();
+ initInputStream();
daemonize(&options);