Skip to content

Commit 77d0b0e

Browse files
Fix Soundness + update contributors (#80)
1 parent 9268027 commit 77d0b0e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CONTRIBUTORS.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ needs to be listed here.
1212
### Contributors
1313

1414
- Felix Schlegel <[email protected]>
15+
- Felix Schlegel <[email protected]>
16+
- Franz Busch <[email protected]>
1517
- FranzBusch <[email protected]>
1618
- SHILPEE GUPTA <[email protected]>
19+
- Yim Lee <[email protected]>
20+
- mr-swifter <[email protected]>
1721

1822
**Updating this list**
1923

Sources/SwiftKafka/RDKafka/RDKafkaConfig.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct RDKafkaConfig {
2626
typealias LoggingClosure = (Int32, UnsafePointer<CChar>, UnsafePointer<CChar>) -> Void
2727
var loggingClosure: LoggingClosure?
2828

29-
init() { }
29+
init() {}
3030
}
3131

3232
/// Create a new `rd_kafka_conf_t` object in memory and initialize it with the given configuration properties.
@@ -140,7 +140,7 @@ struct RDKafkaConfig {
140140
let loggingClosure: RDKafkaConfig.CapturedClosures.LoggingClosure = { level, fac, buf in
141141
// Mapping according to https://en.wikipedia.org/wiki/Syslog
142142
switch level {
143-
case 0 ... 2: /* Emergency, Alert, Critical */
143+
case 0...2: /* Emergency, Alert, Critical */
144144
logger.critical(Logger.Message(stringLiteral: String(cString: buf)), source: String(cString: fac))
145145
case 3: /* Error */
146146
logger.error(Logger.Message(stringLiteral: String(cString: buf)), source: String(cString: fac))

0 commit comments

Comments
 (0)