diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-07-26 23:02:32 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-07-26 23:02:32 +0200 |
| commit | 501de7b6dcbeeb124cc0a2a84f21be4ec19be8ec (patch) | |
| tree | 2eeb7e7a92c20639fdbbb7484bf08a339866a6ec /Emby.Dlna/Service/BaseControlHandler.cs | |
| parent | b024059f7120a901974c0ec673371b819b23bdfd (diff) | |
Enable nullable in more files
Diffstat (limited to 'Emby.Dlna/Service/BaseControlHandler.cs')
| -rw-r--r-- | Emby.Dlna/Service/BaseControlHandler.cs | 6 |
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); |
