From 6dfc316b5d66bed00bf271acd1a9ccb3144cfac8 Mon Sep 17 00:00:00 2001 From: Chip Black Date: Thu, 30 Dec 2010 18:26:41 -0600 Subject: [PATCH] Whoops, my status things weren't valid JSON --- common/app.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/app.h b/common/app.h index 98b8521..93dc8b4 100644 --- a/common/app.h +++ b/common/app.h @@ -9,8 +9,8 @@ #define CONTENT_401 "401 Unauthorized

401 Unauthorized

DENIED" #define CONTENT_404 "404 Not Found

404 Not Found

I couldn't find that." #define CONTENT_405 "405 Method Not Allowed

405 Method Not Allowed

I'm sorry, Dave. I'm afraid I can't do that." -#define JSON_SUCCESS "{status: \"success\"}" -#define JSON_FAILURE "{status: \"failure\"}" +#define JSON_SUCCESS "{\"status\": \"success\"}" +#define JSON_FAILURE "{\"status\": \"failure\"}" #define URL_INFO_AUTHOR 0x1 #define URL_INFO_RECORD 0x2 -- 2.25.1