X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=common%2Fapp.h;h=e37b47a2bf706a6057223ae16fcd3bcd6a5263a6;hb=213e6e64dd863fd39d0db7c6fb4ccf1970a868fb;hp=98b85218c4316901de8af685a14c991879d03aee;hpb=3d27274b36b44816c736ea8a411341b5a36556f9;p=blerg.git
diff --git a/common/app.h b/common/app.h
index 98b8521..e37b47a 100644
--- a/common/app.h
+++ b/common/app.h
@@ -9,8 +9,8 @@
#define CONTENT_401 "
401 Unauthorized401 Unauthorized
DENIED"
#define CONTENT_404 "404 Not Found404 Not Found
I couldn't find that."
#define CONTENT_405 "405 Method Not Allowed405 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
@@ -26,6 +26,5 @@ struct url_info {
int parse_url_info(const char *url, struct url_info *info);
uint64_t *make_sequential_list(uint64_t from, uint64_t to);
-void json_generate_one_record(yajl_gen g, const char *author, struct blerg *b, uint64_t record);
#endif /* _APP_H */