Skip to content

Commit

Permalink
add max_retries
Browse files Browse the repository at this point in the history
kinda required
  • Loading branch information
Spotlight committed Dec 23, 2017
1 parent 50f5644 commit 7f8274e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/utils/ftp_devoptab.c
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@ bool ftpInitDevice(const char* name, const char *user, const char *password, con
for(i=0;i<MAX_FTP_MOUNTED && FTPEnv[i].name!=NULL;i++);
if(i==MAX_FTP_MOUNTED) return false; //all allowed ftp connections reached

if (if_config(myIP, NULL, NULL, true) < 0)
if (if_config(myIP, NULL, NULL, true, 1) < 0)
return false;

_FTP_lock();
Expand Down

0 comments on commit 7f8274e

Please sign in to comment.