projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae33c1
)
Typo
author
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Fri, 10 Dec 2010 11:06:24 +0000
(12:06 +0100)
committer
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Fri, 10 Dec 2010 11:06:24 +0000
(12:06 +0100)
src/t_string.c
patch
|
blob
|
blame
|
history
diff --git
a/src/t_string.c
b/src/t_string.c
index b41a1522b81be10cd917fd41880b1f79c45a170c..dcb37e553c9ed056b3d281847f28be4d9cfaf505 100644
(file)
--- a/
src/t_string.c
+++ b/
src/t_string.c
@@
-88,7
+88,7
@@
static int getBitOffsetFromArgument(redisClient *c, robj *o, size_t *offset) {
if (getLongLongFromObjectOrReply(c,o,&loffset,err) != REDIS_OK)
return REDIS_ERR;
- /* Limit offset to SIZE_T_MAX or
1G
B in bytes */
+ /* Limit offset to SIZE_T_MAX or
512M
B in bytes */
if ((loffset < 0) ||
((unsigned long long)loffset >= (unsigned)SIZE_T_MAX) ||
((unsigned long long)loffset >> 3) >= (512*1024*1024))