diff options
Diffstat (limited to 'source/smbd/server.c')
-rw-r--r-- | source/smbd/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c index 5ef92777b24..3140d3ff84c 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -2456,6 +2456,8 @@ int make_connection(char *service,char *user,char *password, int pwlen, char *de int find_free_file(void ) { int i; + /* we start at 1 here for an obscure reason I can't now remember, + but I think is important :-) */ for (i=1;i<MAX_OPEN_FILES;i++) if (!Files[i].open) return(i); |