fix unnecessary printf retry when printed string is empty

fix missing va_end() calls

(0) -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial