aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Service/ControlErrorHandler.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/ControlErrorHandler.cs
parentb024059f7120a901974c0ec673371b819b23bdfd (diff)
Enable nullable in more files
Diffstat (limited to 'Emby.Dlna/Service/ControlErrorHandler.cs')
-rw-r--r--Emby.Dlna/Service/ControlErrorHandler.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Emby.Dlna/Service/ControlErrorHandler.cs b/Emby.Dlna/Service/ControlErrorHandler.cs
index f2b5dd9ca..3e2cd6d2e 100644
--- a/Emby.Dlna/Service/ControlErrorHandler.cs
+++ b/Emby.Dlna/Service/ControlErrorHandler.cs
@@ -46,11 +46,7 @@ namespace Emby.Dlna.Service
writer.WriteEndDocument();
}
- return new ControlResponse
- {
- Xml = builder.ToString(),
- IsSuccessful = false
- };
+ return new ControlResponse(builder.ToString(), false);
}
}
}