1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Indentation again, don't mind me

svn path=/trunk/httpp/; revision=4252
This commit is contained in:
brendan 2003-01-16 05:48:31 +00:00
parent 3a0b895baa
commit d9682b5dec
2 changed files with 4 additions and 6 deletions

View File

@ -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;

View File

@ -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