Skip to content

Commit

Permalink
use C style comments
Browse files Browse the repository at this point in the history
  • Loading branch information
plicease committed Feb 9, 2019
1 parent ab6e8bd commit de9393d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for Kafka-Librd

- New maintainer Graham Ollis <plicease@cpan.org>
- Fix compatability with Perls older than 5.8.9

0.09 Tue Oct 23 2018 Pavel Shaydo <zwon@cpan.org>
- add note about maintenance status
Expand Down
4 changes: 2 additions & 2 deletions rdkafkaxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ krd_parse_topic_partition_list(pTHX_ AV* tplist) {
char* key = HePV(he, len);
SV* val = HeVAL(he);
if (strncmp(key, "topic", 6) == 0 || strncmp(key, "partition", 10) == 0) {
// this we already handled
/* this we already handled */
;
} else if (strncmp(key, "offset", 7) == 0) {
tp->offset = SvIV(val);
Expand Down Expand Up @@ -106,7 +106,7 @@ rd_kafka_conf_t* krd_parse_config(pTHX_ rdkafka_t *krd, HV* params) {
if (topconf == NULL) goto CROAK;
rd_kafka_conf_set_default_topic_conf(krdconf, topconf);
} else {
// set named configuration property
/* set named configuration property */
char *strval = SvPV(val, len);
res = rd_kafka_conf_set(
krdconf,
Expand Down

0 comments on commit de9393d

Please sign in to comment.