Commit d1c1f62e authored by antirez's avatar antirez
Browse files

SCAN: use define REDIS_LONGSTR_SIZE instead of fixed len.

parent 8cdaf604
......@@ -319,7 +319,7 @@ void scanCallback(void *privdata, const dictEntry *de) {
void scanCommand(redisClient *c) {
int rv;
int i, j;
char buf[32];
char buf[REDIS_LONGSTR_SIZE];
list *keys = listCreate();
listNode *ln, *ln_;
unsigned long cursor = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment