diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-18 16:48:01 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-18 16:48:01 +0100 |
| commit | c1f76eb8ab2c4fe536a9b612d659bf739f0cc7ac (patch) | |
| tree | b78e697ec3676c70a2db5c98ce2a5ea27fdea105 /SocketHttpListener/Net/HttpListenerContext.Managed.cs | |
| parent | 38f96af079887cce7c38fcde8340fd7c6d1150ad (diff) | |
Reformat JustAMan review pt3 changes
Diffstat (limited to 'SocketHttpListener/Net/HttpListenerContext.Managed.cs')
| -rw-r--r-- | SocketHttpListener/Net/HttpListenerContext.Managed.cs | 2 |
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; |
