From 9d3ec04db4d383050da737ca4c728ad564d0faad Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 26 Sep 2011 18:12:35 +0200 Subject: waitress: move credentials init to WaitressInit Reusable. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index bcc7997..0283921 100644 --- a/src/main.c +++ b/src/main.c @@ -192,7 +192,7 @@ static void BarMainStartPlayback (BarApp_t *app, pthread_t *playerThread) { /* setup player */ memset (&app->player, 0, sizeof (app->player)); - WaitressInit (&app->player.waith); + WaitressInit (&app->player.waith, NULL); WaitressSetUrl (&app->player.waith, app->playlist->audioUrl); /* set up global proxy, player is NULLed on songfinish */ @@ -343,7 +343,7 @@ int main (int argc, char **argv) { #endif PianoInit (&app.ph); - WaitressInit (&app.waith); + WaitressInit (&app.waith, NULL); app.waith.url.host = strdup (PIANO_RPC_HOST); #ifdef ENABLE_TLS app.waith.url.tls = true; -- cgit v1.2.3