diff options
author | tenox <as@tenoware.com> | 2017-01-21 01:32:08 -0800 |
---|---|---|
committer | tenox <as@tenoware.com> | 2017-01-21 01:32:08 -0800 |
commit | e9d79c70ed2d6d2a89cb5dbd9ff14d7d78b6c6de (patch) | |
tree | b2c722036b2e77059007ee9bd46fc205ecf4a3af /wfm.c | |
parent | 34d5f06f39ef4051793b8200be0cc532ebf63c8f (diff) | |
download | wfm-e9d79c70ed2d6d2a89cb5dbd9ff14d7d78b6c6de.tar.gz |
git rename support
Diffstat (limited to 'wfm.c')
-rw-r--r-- | wfm.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -388,6 +388,15 @@ int cgiMain(void) { fprintf(cgiOut, "Cache-Control: max-age=0, private\r\nExpires: -1\r\n"); + memset(virt_dirname, 0, VIRT_DIRNAME_SIZE); + memset(phys_dirname, 0, PHYS_DIRNAME_SIZE); + memset(virt_filename, 0, VIRT_FILENAME_SIZE); + memset(phys_filename, 0, PHYS_FILENAME_SIZE); + memset(virt_destination, 0, VIRT_DESTINATION_SIZE); + memset(phys_destination, 0, PHYS_DESTINATION_SIZE); + memset(final_destination, 0, PHYS_DESTINATION_SIZE); + memset(virt_parent, 0, VIRT_DIRNAME_SIZE); + snprintf(ICONSURL, sizeof(ICONSURL), "%s?ea=icon&name=", cgiScriptName); |