Apply suggestions from code review
authorusev6 <use_v6@aglaz.de>
Mon, 29 Apr 2019 18:28:34 +0000 (20:28 +0200)
committerusev6 <use_v6@aglaz.de>
Mon, 29 Apr 2019 18:28:34 +0000 (20:28 +0200)
commit5d4a2b56038a49634408b4c1e465381b6eeb5051
treebcef6369450339b8f6a8dfda98bc2329582ab191
parent7045c4b543304ffabaa30a2ca9183489e75eafe3
Apply suggestions from code review

* Use constant DATA_MAX_NAME_LEN instead of re-calculating array size
* Declare and initialize second loop var in for statement
src/utils/format_graphite/format_graphite.c