lib/libvarnish/vcli_serve.c
void
VCLI_Out(struct cli *cli, const char *fmt, ...)
{
	va_list ap;

	AN(cli);
	va_start(ap, fmt);
	CHECK_OBJ_NOTNULL(cli, CLI_MAGIC);
	if (VSB_len(cli->sb) < *cli->limit)
		(void)VSB_vprintf(cli->sb, fmt, ap);
	else if (cli->result == CLIS_OK)
		cli->result = CLIS_TRUNCATED;
	va_end(ap);
}
/*lint -e{818} cli could be const */
e{818} cli could be const
e { 818 } cli could be const
void
VCLI_Out(struct cli *cli, const char *fmt, ...)
{
	va_list ap;
	AN(cli);
	va_start(ap, fmt);
	CHECK_OBJ_NOTNULL(cli, CLI_MAGIC);
	if (VSB_len(cli->sb) < *cli->limit)
		(void)VSB_vprintf(cli->sb, fmt, ap);
	else if (cli->result == CLIS_OK)
		cli->result = CLIS_TRUNCATED;
	va_end(ap);
}
void VCLI_Out ( struct cli * cli , const char * fmt , ... ) { va_list ap ; AN ( cli ) ; va_start ( ap , fmt ) ; CHECK_OBJ_NOTNULL ( cli , CLI_MAGIC ) ; if ( VSB_len ( cli -> sb ) < * cli -> limit ) ( void ) VSB_vprintf ( cli -> sb , fmt , ap ) ; else if ( cli -> result == CLIS_OK ) cli -> result = CLIS_TRUNCATED ; va_end ( ap ) ; }
lint -e{818} cli could be const
lint - e { 818 } cli could be const