Skip to content

Commit e7372d4

Browse files
committed
Merge branch 'develop'
2 parents a904c4b + db37a8d commit e7372d4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Sources/NIORedis/RESPChannelHandler.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
import NIO
1616

17-
open class RedisChannelHandler : ChannelInboundHandler,
18-
ChannelOutboundHandler
19-
{
17+
open class RESPChannelHandler : ChannelDuplexHandler {
2018

2119
public typealias InboundErr = RESPParserError
2220

@@ -318,7 +316,7 @@ extension ByteBuffer {
318316
cursor.pointee = UInt8(c0 - (negativeAbsoluteValue % 10))
319317
negativeAbsoluteValue /= 10;
320318
}
321-
while negativeAbsoluteValue != 0
319+
while negativeAbsoluteValue != 0
322320

323321
if integer < 0 {
324322
cursor -= 1

Sources/NIORedis/RESPPipelineSetup.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public extension ChannelPipeline {
2121
name : String = "de.zeezide.nio.RESP")
2222
-> EventLoopFuture<Void>
2323
{
24-
return self.add(name: name, handler: RedisChannelHandler(), first: first)
24+
return self.add(name: name, handler: RESPChannelHandler(), first: first)
2525
}
2626

2727
}

0 commit comments

Comments
 (0)