Check the return values of opendir() and unlink() in cleanheaders(). If unlink() fails, just print a warning for now.
Check the return values of opendir() and unlink() in cleanheaders().
If unlink() fails, just print a warning for now.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase