Browse Source

Merge pull request #13 from mseker-issd/patch-3

Redundant close of file
pull/17/head
Philipp Tölke 8 years ago
committed by GitHub
parent
commit
b5d810ebad
  1. 2
      ftpd.c

2
ftpd.c

@ -449,8 +449,6 @@ static void send_file(struct ftpd_datastate *fsd, struct tcp_pcb *pcb)
fsm = fsd->msgfs;
msgpcb = fsd->msgpcb;
vfs_close(fsd->vfs_file);
fsd->vfs_file = NULL;
ftpd_dataclose(pcb, fsd);
fsm->datapcb = NULL;
fsm->datafs = NULL;

Loading…
Cancel
Save