X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/236df01b15447f5c72b15c2d45496e2ec73cf951..4e2a7e59e540a7a66da0c3e159f0464b05559f7f:/connection.c diff --git a/connection.c b/connection.c index 5e37fe24..62818610 100644 --- 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)