From: Michal Kobylinski Date: Fri, 23 Aug 2019 14:53:32 +0000 (+0000) Subject: fixed code format X-Git-Tag: collectd-5.11.0~21^2~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a8f30afc07e1eadb35c25f3fd6d9e0ad8c9f6d5;p=thirdparty%2Fcollectd.git fixed code format --- diff --git a/src/redfish.c b/src/redfish.c index 98c1c2194..d9991e375 100644 --- a/src/redfish.c +++ b/src/redfish.c @@ -767,7 +767,7 @@ static void redfish_process_payload_property(const redfish_property_t *prop, /* Default TypeInstance is MemberId */ char type_inst[40] = "MemberId"; if (prop->type_inst != NULL) - sstrncpy(type_inst, prop->type_inst, sizeof(type_inst)); + sstrncpy(type_inst, prop->type_inst, sizeof(type_inst)); /* Retrieving sensor ID and setting TypeInstance */ json_t *sensor_id = json_object_get(item, prop->type_inst);