aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Service/BaseControlHandler.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-07-26 23:02:32 +0200
committerBond_009 <bond.009@outlook.com>2021-07-26 23:02:32 +0200
commit501de7b6dcbeeb124cc0a2a84f21be4ec19be8ec (patch)
tree2eeb7e7a92c20639fdbbb7484bf08a339866a6ec /Emby.Dlna/Service/BaseControlHandler.cs
parentb024059f7120a901974c0ec673371b819b23bdfd (diff)
Enable nullable in more files
Diffstat (limited to 'Emby.Dlna/Service/BaseControlHandler.cs')
-rw-r--r--Emby.Dlna/Service/BaseControlHandler.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Emby.Dlna/Service/BaseControlHandler.cs b/Emby.Dlna/Service/BaseControlHandler.cs
index b3ee860f4..581e4a286 100644
--- a/Emby.Dlna/Service/BaseControlHandler.cs
+++ b/Emby.Dlna/Service/BaseControlHandler.cs
@@ -95,11 +95,7 @@ namespace Emby.Dlna.Service
var xml = builder.ToString().Replace("xmlns:m=", "xmlns:u=", StringComparison.Ordinal);
- var controlResponse = new ControlResponse
- {
- Xml = xml,
- IsSuccessful = true
- };
+ var controlResponse = new ControlResponse(xml, true);
controlResponse.Headers.Add("EXT", string.Empty);