diff options
author | Antoni Sawicki <tenox@google.com> | 2019-05-19 01:11:18 -0700 |
---|---|---|
committer | Antoni Sawicki <tenox@google.com> | 2019-05-19 01:11:18 -0700 |
commit | 86f17f459230500970b556eefbd5cff63d4094f8 (patch) | |
tree | 0e8fb4e1f4c06e6b3c6c98cfb2aea62000fc5544 | |
parent | 73c79c0a3880c8bf322eb540ea5b6adcd3703ad9 (diff) | |
download | wfm-86f17f459230500970b556eefbd5cff63d4094f8.tar.gz |
normalize table row ending
-rw-r--r-- | dir.c | 23 |
1 files changed, 9 insertions, 14 deletions
@@ -608,28 +608,23 @@ void dirlist(void) { "\n" "<A HREF=\"%s?action=sendfile&directory=%s&filename=%s&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&directory=%s&filename=%s&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" - " \n" - "</TD>\n" - "</TR>\n\n" - ); - } + + fprintf(cgiOut, + "\n" + " \n" + "</TD>\n" + "</TR>\n\n" + ); totalsize+=size; n++; |