Skip to content

Commit dc6f6c4

Browse files
committed
Adjust format for number
Signed-off-by: hwware <[email protected]>
1 parent b27b747 commit dc6f6c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pubsub.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,8 @@ void subscribeCommand(client *c) {
550550

551551
struct ClientFlags old_flags = c->flag;
552552
c->flag.pushing = 1;
553-
int number = (c->argc-1) * 3;
554-
553+
int number = (c->argc - 1) * 3;
554+
555555
if (c->resp == 2)
556556
addReply(c, shared.mbulkhdr[number]);
557557
else

0 commit comments

Comments
 (0)