Browse Source

Merge pull request #11 from mseker-issd/patch-2

Fix linting problem: 'if' always evaluates to true; this is no change in behaviour.
pull/13/head
Philipp Tölke 8 years ago
committed by GitHub
parent
commit
5a0caf8d56
  1. 4
      ftpd.c

4
ftpd.c

@ -896,9 +896,9 @@ static void cmd_pasv(const char *arg, struct tcp_pcb *pcb, struct ftpd_msgstate
break;
if (start_port == port)
err = ERR_CLSD;
if (err == ERR_USE)
if (err == ERR_USE) {
continue;
if (err != ERR_OK) {
} else {
ftpd_dataclose(fsm->datapcb, fsm->datafs);
fsm->datapcb = NULL;
fsm->datafs = NULL;

Loading…
Cancel
Save