From 214339814f428230fef9614ef575060cfad650d2 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 16 Feb 2015 00:01:06 +0100 Subject: [PATCH] mod_statsdx: Fix operating system statistics --- mod_statsdx/src/mod_statsdx.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_statsdx/src/mod_statsdx.erl b/mod_statsdx/src/mod_statsdx.erl index a18d70f..6f2c6f7 100644 --- a/mod_statsdx/src/mod_statsdx.erl +++ b/mod_statsdx/src/mod_statsdx.erl @@ -804,7 +804,7 @@ received_response(From, {xmlel, <<"iq">>, Attrs, Elc}) -> Client = get_tag_cdata_subtag(El, <<"name">>), Version = get_tag_cdata_subtag(El, <<"version">>), - OS = get_tag_cdata_subtag(El, "os"), + OS = get_tag_cdata_subtag(El, <<"os">>), {Client_id, OS_id} = identify(Client, OS), ConnType = get_connection_type(User, Host, Resource),