Fix a potential buffer overflow
Fix a potential buffer overflow

strncpy wouldn't append the null byte in case the source
string length is >= destination buffer.

's_test_directory' is already zero initialized. So leaving
the last byte alone is enough ensure the buffer is null byte
terminated.

Signed-off-by: Ponnuvel Palaniyappan <a51ca930fca1e608bc23c72a3282b44887605d79@gmail.com>

GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver