Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nginx-push-stream-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
nginx-push-stream-module
Commits
fb803a12
Commit
fb803a12
authored
Jun 15, 2011
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change compare function to be exact match
parent
a50bee71
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ngx_http_push_stream_module.c
src/ngx_http_push_stream_module.c
+1
-1
No files found.
src/ngx_http_push_stream_module.c
View file @
fb803a12
...
@@ -304,7 +304,7 @@ ngx_http_push_stream_find_or_add_template(ngx_conf_t *cf, ngx_str_t template) {
...
@@ -304,7 +304,7 @@ ngx_http_push_stream_find_or_add_template(ngx_conf_t *cf, ngx_str_t template) {
u_char
*
aux
=
NULL
;
u_char
*
aux
=
NULL
;
while
((
cur
=
(
ngx_http_push_stream_msg_template_t
*
)
ngx_queue_next
(
&
cur
->
queue
))
!=
sentinel
)
{
while
((
cur
=
(
ngx_http_push_stream_msg_template_t
*
)
ngx_queue_next
(
&
cur
->
queue
))
!=
sentinel
)
{
if
(
ngx_
strncmp
(
cur
->
template
.
data
,
template
.
data
,
cur
->
template
.
len
)
==
0
)
{
if
(
ngx_
memn2cmp
(
cur
->
template
.
data
,
template
.
data
,
cur
->
template
.
len
,
template
.
len
)
==
0
)
{
return
cur
->
index
;
return
cur
->
index
;
}
}
}
}
...
...
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