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
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
94
Issues
94
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
e49e587c
Commit
e49e587c
authored
Jun 09, 2003
by
brendan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 3.3 warns: dereferencing type-punned pointer will break strict-aliasing rules
svn path=/trunk/httpp/; revision=4906
parent
b4166442
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/httpp/httpp.c
src/httpp/httpp.c
+6
-2
No files found.
src/httpp/httpp.c
View file @
e49e587c
...
...
@@ -478,11 +478,13 @@ char *httpp_getvar(http_parser_t *parser, char *name)
{
http_var_t
var
;
http_var_t
*
found
;
void
*
fp
;
fp
=
&
found
;
var
.
name
=
name
;
var
.
value
=
NULL
;
if
(
avl_get_by_key
(
parser
->
vars
,
(
void
*
)
&
var
,
(
void
**
)
&
found
)
==
0
)
if
(
avl_get_by_key
(
parser
->
vars
,
&
var
,
fp
)
==
0
)
return
found
->
value
;
else
return
NULL
;
...
...
@@ -513,11 +515,13 @@ char *httpp_get_query_param(http_parser_t *parser, char *name)
{
http_var_t
var
;
http_var_t
*
found
;
void
*
fp
;
fp
=
&
found
;
var
.
name
=
name
;
var
.
value
=
NULL
;
if
(
avl_get_by_key
(
parser
->
queryvars
,
(
void
*
)
&
var
,
(
void
**
)
&
found
)
==
0
)
if
(
avl_get_by_key
(
parser
->
queryvars
,
(
void
*
)
&
var
,
fp
)
==
0
)
return
found
->
value
;
else
return
NULL
;
...
...
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