Fix of wrong variable usage

Simple fix, it closes https://github.com/OpenTSDB/tcollector/issues/93 .