projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-4.2' into collectd-4.3
[collectd.git]
/
src
/
nginx.c
diff --git
a/src/nginx.c
b/src/nginx.c
index
69dc49e
..
a44e8a5
100644
(file)
--- a/
src/nginx.c
+++ b/
src/nginx.c
@@
-141,9
+141,9
@@
static void submit (char *type, char *inst, long long value)
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
- if (strc
py
(type, "nginx_connections") == 0)
+ if (strc
mp
(type, "nginx_connections") == 0)
values[0].gauge = value;
values[0].gauge = value;
- else if (strc
py
(type, "nginx_requests") == 0)
+ else if (strc
mp
(type, "nginx_requests") == 0)
values[0].counter = value;
else
return;
values[0].counter = value;
else
return;