Browse Source

Update ftpd.c

PCLint Info 774: Boolean within 'if' always evaluates to True
pull/11/head
Murat Seker 8 years ago
committed by GitHub
parent
commit
3f22965893
  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