From c1f76eb8ab2c4fe536a9b612d659bf739f0cc7ac Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Fri, 18 Jan 2019 16:48:01 +0100 Subject: Reformat JustAMan review pt3 changes --- SocketHttpListener/Net/HttpListenerContext.Managed.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SocketHttpListener/Net/HttpListenerContext.Managed.cs') diff --git a/SocketHttpListener/Net/HttpListenerContext.Managed.cs b/SocketHttpListener/Net/HttpListenerContext.Managed.cs index 4cdb6882e..a6622c479 100644 --- a/SocketHttpListener/Net/HttpListenerContext.Managed.cs +++ b/SocketHttpListener/Net/HttpListenerContext.Managed.cs @@ -44,7 +44,7 @@ namespace SocketHttpListener.Net } internal IPrincipal ParseBasicAuthentication(string authData) => - TryParseBasicAuth(authData, out var errorCode, out string username, out string password) ? + TryParseBasicAuth(authData, out HttpStatusCode errorCode, out string username, out string password) ? new GenericPrincipal(new HttpListenerBasicIdentity(username, password), Array.Empty()) : null; -- cgit v1.2.3