diff --git a/src/protocol/file/file.c b/src/protocol/file/file.c index 7e71c0d1..80f16380 100644 --- a/src/protocol/file/file.c +++ b/src/protocol/file/file.c @@ -196,7 +196,7 @@ list_directory(struct connection *conn, unsigned char *dirpath, add_dir_entries(entries, dirpath, page); - if (!add_to_string(page, "\n
\n\n\n")) { + if (!add_to_string(page, "\n
\n\n\n")) { done_string(page); return S_OUT_OF_MEM; } diff --git a/src/protocol/fsp/fsp.c b/src/protocol/fsp/fsp.c index 8e2f3978..c66848a4 100644 --- a/src/protocol/fsp/fsp.c +++ b/src/protocol/fsp/fsp.c @@ -167,7 +167,7 @@ fsp_directory(FSP_SESSION *ses, struct uri *uri) fsp_closedir(dir); } end: - puts("
"); + puts("
"); fsp_close_session(ses); exit(0); } diff --git a/src/protocol/ftp/ftp.c b/src/protocol/ftp/ftp.c index a2354da2..b46ecfdd 100644 --- a/src/protocol/ftp/ftp.c +++ b/src/protocol/ftp/ftp.c @@ -1367,7 +1367,7 @@ out_of_mem: add_fragment(conn->cached, conn->from, str, sizeof(str) - 1); \ conn->from += (sizeof(str) - 1); } - if (ftp->dir) ADD_CONST("\n
\n\n"); + if (ftp->dir) ADD_CONST("\n
\n\n"); close_socket(conn->data_socket);