aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoni Sawicki <tenox@google.com>2019-05-19 01:11:18 -0700
committerAntoni Sawicki <tenox@google.com>2019-05-19 01:11:18 -0700
commit86f17f459230500970b556eefbd5cff63d4094f8 (patch)
tree0e8fb4e1f4c06e6b3c6c98cfb2aea62000fc5544
parent73c79c0a3880c8bf322eb540ea5b6adcd3703ad9 (diff)
downloadwfm-86f17f459230500970b556eefbd5cff63d4094f8.tar.gz
normalize table row ending
-rw-r--r--dir.c23
1 files changed, 9 insertions, 14 deletions
diff --git a/dir.c b/dir.c
index fcd971f..afe64c2 100644
--- a/dir.c
+++ b/dir.c
@@ -608,28 +608,23 @@ void dirlist(void) {
"\n"
"<A HREF=\"%s?action=sendfile&amp;directory=%s&amp;filename=%s&amp;token=%s\" TITLE=\"Download '%s'\">\n"
"<IMG SRC=\"%sdisk.gif\" BORDER=0 WIDTH=16 HEIGHT=16 ALT=\"Download File\">\n"
- "</A>\n"
- "</TD>\n"
- "</TR>\n\n",
+ "</A>\n",
cgiScriptName, wp.virt_dirname_urlencoded, name_urlencoded, rt.token, name, rt.iconsurl);
else
fprintf(cgiOut,
"\n"
"<A HREF=\"%s?action=edit&amp;directory=%s&amp;filename=%s&amp;token=%s\" TITLE=\"Edit '%s'\">\n"
"<IMG SRC=\"%sedit.gif\" BORDER=0 WIDTH=16 HEIGHT=16 ALT=\"Edit File\">\n"
- "</A>\n"
- "</TD>\n"
- "</TR>\n\n",
+ "</A>\n",
cgiScriptName, wp.virt_dirname_urlencoded, name_urlencoded, rt.token, name, rt.iconsurl);
}
- else {
- fprintf(cgiOut,
- "\n"
- "&nbsp;\n"
- "</TD>\n"
- "</TR>\n\n"
- );
- }
+
+ fprintf(cgiOut,
+ "\n"
+ "&nbsp;\n"
+ "</TD>\n"
+ "</TR>\n\n"
+ );
totalsize+=size;
n++;