Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0f49d6b0
Commit
0f49d6b0
authored
Jul 01, 2010
by
antirez
Browse files
minor aesthetic change
parent
bb8716b6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/pubsub.c
View file @
0f49d6b0
#include "redis.h"
#include "redis.h"
/*-----------------------------------------------------------------------------
* Pubsub low level API
*----------------------------------------------------------------------------*/
void
freePubsubPattern
(
void
*
p
)
{
void
freePubsubPattern
(
void
*
p
)
{
pubsubPattern
*
pat
=
p
;
pubsubPattern
*
pat
=
p
;
...
@@ -215,6 +219,10 @@ int pubsubPublishMessage(robj *channel, robj *message) {
...
@@ -215,6 +219,10 @@ int pubsubPublishMessage(robj *channel, robj *message) {
return
receivers
;
return
receivers
;
}
}
/*-----------------------------------------------------------------------------
* Pubsub commands implementation
*----------------------------------------------------------------------------*/
void
subscribeCommand
(
redisClient
*
c
)
{
void
subscribeCommand
(
redisClient
*
c
)
{
int
j
;
int
j
;
...
...
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