Whitespace fixups
This commit is contained in:
Родитель
5e9fcd9df5
Коммит
644d8683dc
|
@ -1247,7 +1247,6 @@ static void rd_kafka_poll_cb (rd_kafka_op_t *rko, void *opaque) {
|
|||
if (!(dcnt % 1000))
|
||||
rd_kafka_dbg(rk, MSG, "POLL",
|
||||
"Now %i messages delivered to app", dcnt);
|
||||
|
||||
break;
|
||||
|
||||
case RD_KAFKA_OP_STATS:
|
||||
|
@ -1343,7 +1342,6 @@ void rd_kafka_dump (FILE *fp, rd_kafka_t *rk) {
|
|||
rd_kafka_toppar_dump(fp, " ", rkt->rkt_ua);
|
||||
}
|
||||
rd_kafka_unlock(rk);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -567,6 +567,7 @@ static void rd_kafka_broker_buf_enq (rd_kafka_broker_t *rkb,
|
|||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Memory reading helper macros to be used when parsing network responses.
|
||||
*
|
||||
|
@ -783,12 +784,9 @@ static void rd_kafka_metadata_handle (rd_kafka_broker_t *rkb,
|
|||
Isr_cnt ; k++)
|
||||
_READ_I32(&TopicMetadata[i].
|
||||
PartitionMetadata[j].Isr[k]);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Update our list of brokers. */
|
||||
for (i = 0 ; i < Broker_cnt ; i++) {
|
||||
rd_rkb_dbg(rkb, METADATA, "METADATA",
|
||||
|
|
|
@ -512,7 +512,6 @@ void rd_kafka_toppar_broker_delegate (rd_kafka_toppar_t *rktp,
|
|||
rd_kafka_broker_keep(rkb);
|
||||
rd_kafka_broker_toppars_unlock(rkb);
|
||||
|
||||
|
||||
} else {
|
||||
rd_kafka_dbg(rktp->rktp_rkt->rkt_rk, TOPIC, "BRKDELGT",
|
||||
"No broker is leader for topic %.*s [%"PRId32"]",
|
||||
|
@ -911,3 +910,4 @@ int rd_kafka_topic_partition_available (const rd_kafka_topic_t *rkt,
|
|||
rd_kafka_toppar_destroy(rktp);
|
||||
return avail;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче