Clean up use of va_end/va_args in res_config_mysql