Implement esnprintf() and make formatted calls more efficient
authorLaslo Hunhold <dev@frign.de>
Sat, 19 May 2018 17:33:04 +0000 (19:33 +0200)
committerAaron Marcher <me@drkhsh.at>
Sat, 19 May 2018 17:44:02 +0000 (19:44 +0200)
commit422cadfd5ffd78ae1b8fdf15734e03bd0333b26e
treecf243529272e96e3d65b44afecd08cbb9f4e3005
parentf31b113e7e85bf7057cb88a70d88c5ce9325e208
Implement esnprintf() and make formatted calls more efficient

Within the components, snprintf() was unchecked and had inefficient
calls in some places.
We implement esnprintf() that does all the dirty laundry for us
and use it exclusively now.
components/battery.c
components/netspeeds.c
components/wifi.c
slstatus.c
util.c
util.h