diff options
author | antirez <antirez@gmail.com> | 2010-07-01 15:14:25 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-07-01 15:14:25 +0200 |
commit | 0f49d6b0496b2e881e2dc320b7e16539541fb77a (patch) | |
tree | 9627bca90117df15bb2acccb3d04c43eb47413e1 /src/pubsub.c | |
parent | bb8716b6dc6980415da8b40b46ffb6e637f33a6c (diff) | |
download | redis-0f49d6b0496b2e881e2dc320b7e16539541fb77a.tar.gz |
minor aesthetic change
Diffstat (limited to 'src/pubsub.c')
-rw-r--r-- | src/pubsub.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pubsub.c b/src/pubsub.c index c9f5f310e..2bd3d0580 100644 --- a/src/pubsub.c +++ b/src/pubsub.c @@ -1,5 +1,9 @@ #include "redis.h" +/*----------------------------------------------------------------------------- + * Pubsub low level API + *----------------------------------------------------------------------------*/ + void freePubsubPattern(void *p) { pubsubPattern *pat = p; @@ -215,6 +219,10 @@ int pubsubPublishMessage(robj *channel, robj *message) { return receivers; } +/*----------------------------------------------------------------------------- + * Pubsub commands implementation + *----------------------------------------------------------------------------*/ + void subscribeCommand(redisClient *c) { int j; |