Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Icecast-libshout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-libshout
Commits
068b788f
Commit
068b788f
authored
Jan 16, 2003
by
brendan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indentation again, don't mind me
svn path=/trunk/httpp/; revision=4252
parent
bbf266bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/httpp/httpp.c
src/httpp/httpp.c
+1
-1
src/httpp/httpp.h
src/httpp/httpp.h
+3
-5
No files found.
src/httpp/httpp.c
View file @
068b788f
...
...
@@ -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
;
...
...
src/httpp/httpp.h
View file @
068b788f
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment