mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 03:47:53 +08:00
stream 类完善
This commit is contained in:
parent
54aa697c22
commit
9ece101c6f
@ -99,7 +99,7 @@ void* stream::del_ctx(const char* key /* = NULL */)
|
||||
if (key == NULL || *key == 0)
|
||||
{
|
||||
if (default_ctx_ == NULL)
|
||||
return false;
|
||||
return NULL;
|
||||
void* ctx = default_ctx_;
|
||||
default_ctx_ = NULL;
|
||||
return ctx;
|
||||
|
Loading…
Reference in New Issue
Block a user