a proper fix to the bad_format checking misery

Conflicts:

	src/rrd_graph.c