fix zero MaxSize override in Channels
REFMAIL: CA+Tk8fzb9i9LrC_k4G978c5XR5urNz_s0fpOn_-6EsdrBnEzSQ@mail.gmail.com
This commit is contained in:
parent
19d86d2aa9
commit
bee7ceb0fb
|
@ -422,8 +422,11 @@ load_config( const char *where, int pseudo )
|
|||
} else if (merge_ops( cops, channel->ops ))
|
||||
cfile.err = 1;
|
||||
else {
|
||||
if (max_size >= 0)
|
||||
if (max_size >= 0) {
|
||||
if (!max_size)
|
||||
max_size = INT_MAX;
|
||||
channel->stores[M]->max_size = channel->stores[S]->max_size = max_size;
|
||||
}
|
||||
*channelapp = channel;
|
||||
channelapp = &channel->next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user