Skip to content
This repository
Browse code

fix c&p error in CApplication::StartServer() when starting/stopping a…

…irplay
  • Loading branch information...
commit 59a994ce8a454f46646e8609264398f99cbb30ff 1 parent 4c90033
Sascha Montellese authored January 06, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  xbmc/Application.cpp
4  xbmc/Application.cpp
@@ -1442,7 +1442,7 @@ bool CApplication::StartServer(enum ESERVERS eServer, bool bStart, bool bWait/*
1442 1442
       }
1443 1443
       break;
1444 1444
     case ES_AIRPLAYSERVER:
1445  
-      oldSetting = g_guiSettings.GetBool("services.esenabled");
  1445
+      oldSetting = g_guiSettings.GetBool("services.airplay");
1446 1446
       g_guiSettings.SetBool("services.airplay", bStart);
1447 1447
 
1448 1448
       if (bStart)
@@ -1452,7 +1452,7 @@ bool CApplication::StartServer(enum ESERVERS eServer, bool bStart, bool bWait/*
1452 1452
 
1453 1453
       if (!ret)
1454 1454
       {
1455  
-        g_guiSettings.SetBool("services.esenabled", oldSetting);
  1455
+        g_guiSettings.SetBool("services.airplay", oldSetting);
1456 1456
       }
1457 1457
       break;
1458 1458
     case ES_JSONRPCSERVER:

1 note on commit 59a994c

Memphiz
Owner

thx :)

Please sign in to comment.
Something went wrong with that request. Please try again.