Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy B. Terriberry
Opusfile
Commits
756c4c0b
Commit
756c4c0b
authored
Oct 20, 2012
by
Timothy B. Terriberry
Browse files
Fix op_http_parse_connection().
We were computing the return value correctly, but then not returning it.
parent
f83266d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/http.c
View file @
756c4c0b
...
...
@@ -1270,7 +1270,7 @@ static int op_http_parse_connection(char *_cdr){
if
(
d
<=
0
)
break
;
_cdr
+=
d
;
}
return
OP_UNLIKELY
(
*
_cdr
!=
'\0'
)
?
OP_FALSE
:
0
;
return
OP_UNLIKELY
(
*
_cdr
!=
'\0'
)
?
OP_FALSE
:
ret
;
}
typedef
int
(
*
op_ssl_step_func
)(
SSL
*
_ssl_conn
);
...
...
Write
Preview
Supports
Markdown
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