diff --git a/src/protocol/fsp/fsp.c b/src/protocol/fsp/fsp.c index 92ebef3c..62817060 100644 --- a/src/protocol/fsp/fsp.c +++ b/src/protocol/fsp/fsp.c @@ -173,7 +173,7 @@ fsp_directory(FSP_SESSION *ses, struct uri *uri) } else { dircolor[0] = 0; } - + while (!fsp_readdir_native(dir, &fentry, &fresult)) { if (!fresult) break; printf("%10d\t", fentry.size, fentry.name); @@ -304,7 +304,7 @@ fsp_protocol_handler(struct connection *conn) close_all_non_term_fd(); do_fsp(conn); - + } else { conn->socket->fd = fsp_pipe[0]; close(fsp_pipe[1]);