mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-13 16:35:35 +08:00
Merge branch 'gitee-master' into gitlab-upstream
This commit is contained in:
commit
44f0892c7b
@ -246,7 +246,7 @@ redis_result* redis_client::get_string(socket_stream& conn, dbuf_pool* dbuf)
|
||||
redis_result* rr = new(dbuf) redis_result(dbuf);
|
||||
rr->set_type(REDIS_RESULT_STRING);
|
||||
int len = atoi(sbuf.c_str());
|
||||
if (len <= 0) {
|
||||
if (len < 0) {
|
||||
return rr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user