Commit d34cd639 authored by Wayne Davison's avatar Wayne Davison

If max-connections is < 0, disable the module.

parent 236df01b
......@@ -26,7 +26,7 @@ int claim_connection(char *fname, int max_connections)
{
int fd, i;
if (max_connections <= 0)
if (max_connections == 0)
return 1;
if ((fd = open(fname, O_RDWR|O_CREAT, 0600)) < 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