summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/OpenIdException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenId/OpenIdException.cs')
-rw-r--r--src/DotNetOpenId/OpenIdException.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenId/OpenIdException.cs b/src/DotNetOpenId/OpenIdException.cs
index bbdbfbc..3285494 100644
--- a/src/DotNetOpenId/OpenIdException.cs
+++ b/src/DotNetOpenId/OpenIdException.cs
@@ -113,10 +113,10 @@ namespace DotNetOpenId {
EncodingType IEncodable.EncodingType {
get {
if (IsDirectMessage)
- return EncodingType.ResponseBody;
+ return EncodingType.DirectResponse;
if (HasReturnTo)
- return EncodingType.RedirectBrowserUrl;
+ return EncodingType.IndirectMessage;
Debug.Fail("Somehow we cannot tell whether this is a direct message or indirect message. Did we construct an exception without a Query parameter?");
return EncodingType.None;