aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceController.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-06-20 19:23:56 +0100
committerGitHub <noreply@github.com>2020-06-20 19:23:56 +0100
commitb5586e64f5d815f4449930dc53a61a676d0e2df4 (patch)
treec82204256da3850fe6bad1e545135caed04d9cf0 /Emby.Server.Implementations/Services/ServiceController.cs
parentb2e1d7019130f7bf7e74c8af29927226fb30d46c (diff)
parentbb947718eaee3a8381d9b9e6ed926676de39d7c9 (diff)
Merge pull request #25 from jellyfin/master
Update my master
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceController.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServiceController.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceController.cs b/Emby.Server.Implementations/Services/ServiceController.cs
index b84e47140..857df591a 100644
--- a/Emby.Server.Implementations/Services/ServiceController.cs
+++ b/Emby.Server.Implementations/Services/ServiceController.cs
@@ -144,7 +144,10 @@ namespace Emby.Server.Implementations.Services
var yieldedWildcardMatches = RestPath.GetFirstMatchWildCardHashKeys(matchUsingPathParts);
foreach (var potentialHashMatch in yieldedWildcardMatches)
{
- if (!this.RestPathMap.TryGetValue(potentialHashMatch, out firstMatches)) continue;
+ if (!this.RestPathMap.TryGetValue(potentialHashMatch, out firstMatches))
+ {
+ continue;
+ }
var bestScore = -1;
RestPath bestMatch = null;