diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-05-26 09:09:32 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-05-26 09:09:32 +0000 |
commit | 0abc2a0018c17277a27e64ef7d76566441d8071d (patch) | |
tree | dc1660001148c2fd8a967623e844a8f6a28a3bbf /protocols/MinecraftDynmap | |
parent | 5c41038d5be927d023f927bf8a40e0e6b5efd2a5 (diff) |
Use m_http.h in Facebook, Omegle and MinecraftDynmap protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@13844 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MinecraftDynmap')
-rw-r--r-- | protocols/MinecraftDynmap/src/stdafx.h | 1 | ||||
-rw-r--r-- | protocols/MinecraftDynmap/src/utils.h | 11 |
2 files changed, 1 insertions, 11 deletions
diff --git a/protocols/MinecraftDynmap/src/stdafx.h b/protocols/MinecraftDynmap/src/stdafx.h index bff97adae0..008157da25 100644 --- a/protocols/MinecraftDynmap/src/stdafx.h +++ b/protocols/MinecraftDynmap/src/stdafx.h @@ -57,6 +57,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <m_hotkeys.h> #include <m_message.h> #include <m_json.h> +#include <m_http.h> #include "version.h" diff --git a/protocols/MinecraftDynmap/src/utils.h b/protocols/MinecraftDynmap/src/utils.h index 02c0acb9b1..29a62228ab 100644 --- a/protocols/MinecraftDynmap/src/utils.h +++ b/protocols/MinecraftDynmap/src/utils.h @@ -27,17 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define setU8String(setting, value) db_set_utf(NULL, m_szModuleName, setting, value) // HTTP constants and object -#define HTTP_CODE_OK 200 -#define HTTP_CODE_MOVED_PERMANENTLY 301 -#define HTTP_CODE_FOUND 302 -#define HTTP_CODE_FORBIDDEN 403 -#define HTTP_CODE_NOT_FOUND 404 -#define HTTP_CODE_REQUEST_TIMEOUT 408 -#define HTTP_CODE_INTERNAL_SERVER_ERROR 500 -#define HTTP_CODE_NOT_IMPLEMENTED 501 -#define HTTP_CODE_BAD_GATEWAY 502 -#define HTTP_CODE_SERVICE_UNAVAILABLE 503 - #define HTTP_CODE_FAKE_DISCONNECTED 0 #define HTTP_CODE_FAKE_ERROR 1 |