aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Service/ControlErrorHandler.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-07-30 09:49:40 +0200
committerGitHub <noreply@github.com>2021-07-30 09:49:40 +0200
commit00c90cfb21b00fb23ec614d57f873e61cbad154f (patch)
treef98a91ffccd434c465dd5ea036d173368b0f476d /Emby.Dlna/Service/ControlErrorHandler.cs
parentc07e83fdf87e61f30e4cca4e458113ac315918ae (diff)
parent501de7b6dcbeeb124cc0a2a84f21be4ec19be8ec (diff)
Merge pull request #6354 from Bond-009/nullable4
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);
}
}
}