aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Net/HttpListenerContext.Managed.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-18 16:48:01 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-18 16:48:01 +0100
commitc1f76eb8ab2c4fe536a9b612d659bf739f0cc7ac (patch)
treeb78e697ec3676c70a2db5c98ce2a5ea27fdea105 /SocketHttpListener/Net/HttpListenerContext.Managed.cs
parent38f96af079887cce7c38fcde8340fd7c6d1150ad (diff)
Reformat JustAMan review pt3 changes
Diffstat (limited to 'SocketHttpListener/Net/HttpListenerContext.Managed.cs')
-rw-r--r--SocketHttpListener/Net/HttpListenerContext.Managed.cs2
1 files changed, 1 insertions, 1 deletions
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<string>()) :
null;