write_kafka: botch previous commit, spotted by @ciomaire
authorPierre-Yves Ritschard <pyr@spootnik.org>
Mon, 18 Apr 2016 13:34:25 +0000 (15:34 +0200)
committerPierre-Yves Ritschard <pyr@spootnik.org>
Mon, 18 Apr 2016 13:34:25 +0000 (15:34 +0200)
src/write_kafka.c

index 2c3296d..37b3e14 100644 (file)
@@ -115,7 +115,6 @@ static int kafka_handle(struct kafka_topic_context *ctx) /* {{{ */
         INFO ("write_kafka plugin: created KAFKA handle : %s", rd_kafka_name(ctx->kafka));
 
 #if defined(HAVE_LIBRDKAFKA_LOGGER) && !defined(HAVE_LIBRDKAFKA_LOG_CB)
-        if
         rd_kafka_set_logger(ctx->kafka, kafka_log);
 #endif
     }