Commit 1a0cbc33 authored by brendan's avatar brendan

Indentation again, don't mind me

svn path=/trunk/httpp/; revision=4252
parent 15836f4c
......@@ -469,7 +469,7 @@ char *httpp_get_query_param(http_parser_t *parser, char *name)
http_var_t *found;
var.name = name;
var.value = NULL;
var.value = NULL;
if (avl_get_by_key(parser->queryvars, (void *)&var, (void **)&found) == 0)
return found->value;
......
......@@ -16,7 +16,8 @@
#define HTTPP_VAR_ERROR_CODE "__errorcode"
typedef enum httpp_request_type_tag {
httpp_req_none, httpp_req_get, httpp_req_post, httpp_req_head, httpp_req_source, httpp_req_play, httpp_req_stats, httpp_req_unknown
httpp_req_none, httpp_req_get, httpp_req_post, httpp_req_head,
httpp_req_source, httpp_req_play, httpp_req_stats, httpp_req_unknown
} httpp_request_type_e;
typedef struct http_var_tag {
......@@ -33,7 +34,7 @@ typedef struct http_parser_tag {
httpp_request_type_e req_type;
char *uri;
avl_tree *vars;
avl_tree *queryvars;
avl_tree *queryvars;
} http_parser_t;
http_parser_t *httpp_create_parser(void);
......@@ -48,6 +49,3 @@ void httpp_destroy(http_parser_t *parser);
void httpp_clear(http_parser_t *parser);
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment