From 468eeba08e52f70e9424be3778ff46af3fdf56e2 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Mon, 11 Jan 2016 08:57:40 +0300 Subject: [PATCH] Missing HTTP 401. --- editor/osm_auth.cpp | 1 + editor/osm_auth.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/editor/osm_auth.cpp b/editor/osm_auth.cpp index 4a9d41e057..8dbb25b440 100644 --- a/editor/osm_auth.cpp +++ b/editor/osm_auth.cpp @@ -306,6 +306,7 @@ string DebugPrint(OsmOAuth::ResponseCode const code) case OsmOAuth::ResponseCode::NetworkError: return "NetworkError"; case OsmOAuth::ResponseCode::OK: return "OK"; case OsmOAuth::ResponseCode::BadXML: return "BadXML"; + case OsmOAuth::ResponseCode::BadAuth: return "BadAuth"; case OsmOAuth::ResponseCode::Redacted: return "Redacted"; case OsmOAuth::ResponseCode::NotFound: return "NotFound"; case OsmOAuth::ResponseCode::WrongMethod: return "WrongMethod"; diff --git a/editor/osm_auth.hpp b/editor/osm_auth.hpp index 67e13365d9..86ddc68c83 100644 --- a/editor/osm_auth.hpp +++ b/editor/osm_auth.hpp @@ -38,6 +38,7 @@ public: NetworkError = -1, OK = 200, BadXML = 400, + BadAuth = 401, Redacted = 403, NotFound = 404, WrongMethod = 405,