Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4efe9e19
Commit
4efe9e19
authored
Apr 06, 2016
by
antirez
Browse files
Add the last break for consistency in moduleCreateCallReplyFromProto.
parent
e453d36e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/module.c
View file @
4efe9e19
...
@@ -811,7 +811,7 @@ RedisModuleCallReply *moduleCreateCallReplyFromProto(RedisModuleCtx *ctx, sds pr
...
@@ -811,7 +811,7 @@ RedisModuleCallReply *moduleCreateCallReplyFromProto(RedisModuleCtx *ctx, sds pr
case
'-'
:
reply
->
type
=
REDISMODULE_REPLY_ERROR
;
break
;
case
'-'
:
reply
->
type
=
REDISMODULE_REPLY_ERROR
;
break
;
case
':'
:
reply
->
type
=
REDISMODULE_REPLY_INTEGER
;
break
;
case
':'
:
reply
->
type
=
REDISMODULE_REPLY_INTEGER
;
break
;
case
'*'
:
reply
->
type
=
REDISMODULE_REPLY_ARRAY
;
break
;
case
'*'
:
reply
->
type
=
REDISMODULE_REPLY_ARRAY
;
break
;
default:
reply
->
type
=
REDISMODULE_REPLY_UNKNOWN
;
default:
reply
->
type
=
REDISMODULE_REPLY_UNKNOWN
;
break
;
}
}
if
((
proto
[
0
]
==
'*'
||
proto
[
0
]
==
'$'
)
&&
proto
[
1
]
==
'-'
)
if
((
proto
[
0
]
==
'*'
||
proto
[
0
]
==
'$'
)
&&
proto
[
1
]
==
'-'
)
reply
->
type
=
REDISMODULE_REPLY_NULL
;
reply
->
type
=
REDISMODULE_REPLY_NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment