plugins/out_kafka/librdkafka-1.5.0/src/rdkafka_admin.c
static void rd_kafka_admin_result_fail (rd_kafka_op_t *rko_req,
                                        rd_kafka_resp_err_t err,
                                        const char *fmt, ...) {
        va_list ap;
        rd_kafka_op_t *rko_result;

        rko_result = rd_kafka_admin_result_new(rko_req);

        va_start(ap, fmt);
        rd_kafka_admin_result_set_err0(rko_result, err, fmt, ap);
        va_end(ap);

        rd_kafka_admin_result_enq(rko_req, rko_result);
}
/**
 * @brief Set request-level error code and string in reply op.
 */
@brief Set request-level error code and string in reply op.
@brief Set request - level error code and string in reply op .
static void rd_kafka_admin_result_fail (rd_kafka_op_t *rko_req,
                                        rd_kafka_resp_err_t err,
                                        const char *fmt, ...) {
        va_list ap;
        rd_kafka_op_t *rko_result;
        rko_result = rd_kafka_admin_result_new(rko_req);
        va_start(ap, fmt);
        rd_kafka_admin_result_set_err0(rko_result, err, fmt, ap);
        va_end(ap);
        rd_kafka_admin_result_enq(rko_req, rko_result);
}
static void rd_kafka_admin_result_fail ( rd_kafka_op_t * rko_req , rd_kafka_resp_err_t err , const char * fmt , ... ) { va_list ap ; rd_kafka_op_t * rko_result ; rko_result = rd_kafka_admin_result_new ( rko_req ) ; va_start ( ap , fmt ) ; rd_kafka_admin_result_set_err0 ( rko_result , err , fmt , ap ) ; va_end ( ap ) ; rd_kafka_admin_result_enq ( rko_req , rko_result ) ; }
@brief Set request-level error code and string in reply op.
@brief Set request - level error code and string in reply op .