From 8c167913cb178f1b22fb6d1b636f8f56ac02d246 Mon Sep 17 00:00:00 2001 From: Memphis Date: Wed, 17 Apr 2013 12:58:52 +0200 Subject: [PATCH] [airtunes] - use the temp password var when starting the airtunes server for not activating password protection in accident when its disabled via gui --- xbmc/network/AirTunesServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/network/AirTunesServer.cpp b/xbmc/network/AirTunesServer.cpp index d041e0da0e44c..495c97a228ddd 100644 --- a/xbmc/network/AirTunesServer.cpp +++ b/xbmc/network/AirTunesServer.cpp @@ -521,7 +521,7 @@ bool CAirTunesServer::StartServer(int port, bool nonlocal, bool usePassword, con } ServerInstance = new CAirTunesServer(port, nonlocal); - if (ServerInstance->Initialize(password)) + if (ServerInstance->Initialize(pw)) { #ifndef TARGET_WINDOWS ServerInstance->Create();