projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50af7ba
)
[AirPlay] - fix missing ifdef guards for airtunes/airplay on server stop
author
Memphiz
<memphis@machzwo.de>
Fri, 24 May 2013 08:07:40 +0000
(10:07 +0200)
committer
Memphiz
<memphis@machzwo.de>
Fri, 24 May 2013 08:07:40 +0000
(10:07 +0200)
xbmc/network/NetworkServices.cpp
patch
|
blob
|
history
diff --git
a/xbmc/network/NetworkServices.cpp
b/xbmc/network/NetworkServices.cpp
index
5b3f94b
..
8eada58
100644
(file)
--- a/
xbmc/network/NetworkServices.cpp
+++ b/
xbmc/network/NetworkServices.cpp
@@
-228,7
+228,18
@@
bool CNetworkServices::OnSettingChanging(const CSetting *setting)
}
else
{
- if (!StopAirPlayServer(true) || !StopAirTunesServer(true))
+ bool ret = true;
+#ifdef HAS_AIRTUNES
+ if (!StopAirTunesServer(true))
+ ret = false;
+#endif //HAS_AIRTUNES
+
+#ifdef HAS_AIRPLAY
+ if (!StopAirPlayServer(true))
+ ret = false;
+#endif //HAS_AIRPLAY
+
+ if (!ret)
return false;
}
}