projects
/
platform
/
upstream
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
236df01
)
If max-connections is < 0, disable the module.
author
Wayne Davison
<wayned@samba.org>
Tue, 18 Sep 2007 14:14:22 +0000
(14:14 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 18 Sep 2007 14:14:22 +0000
(14:14 +0000)
connection.c
patch
|
blob
|
history
diff --git
a/connection.c
b/connection.c
index
5e37fe2
..
6281861
100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-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)