Skip to content

Commit

Permalink
RB-11068: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Kirichenko committed Aug 23, 2016
1 parent 290bd3f commit f6cffed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ngx_feature="Graphite module"
have=NGX_GRAPHITE . auto/have

ngx_addon_name=ngx_http_graphite_module

Expand All @@ -8,7 +9,6 @@ if test -n "$ngx_module_link"; then
ngx_module_srcs="$ngx_addon_dir/src/ngx_http_graphite_module.c"
. auto/module
else
have=NGX_GRAPHITE . auto/have
HTTP_MODULES="$HTTP_MODULES ngx_http_graphite_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
$ngx_addon_dir/src/ngx_http_graphite_module.c \
Expand Down
4 changes: 2 additions & 2 deletions src/ngx_http_graphite_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1923,7 +1923,7 @@ ngx_http_graphite_param_ssl_handshake_time(ngx_http_request_t *r) {

ms = 0;

#if (NGX_SSL)
#if (defined(NGX_GRAPHITE_PATCH) && (NGX_SSL))
if (r->connection->requests == 1) {
ngx_ssl_connection_t *ssl = r->connection->ssl;
if (ssl)
Expand All @@ -1941,7 +1941,7 @@ ngx_http_graphite_param_ssl_cache_usage(ngx_http_request_t *r) {

usage = 0;

#if (NGX_SSL)
#if (defined(NGX_GRAPHITE_PATCH) && (NGX_SSL))
ngx_ssl_connection_t *ssl = r->connection->ssl;
if (ssl) {

Expand Down

0 comments on commit f6cffed

Please sign in to comment.