summaryrefslogtreecommitdiff
path: root/tests/serverhelp.pm
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-12-31 15:26:16 +0000
committerYang Tse <yangsita@gmail.com>2009-12-31 15:26:16 +0000
commit01682cca550802401aefb0538416a17f8271fc88 (patch)
treefaddd40cd8111910d9482eba1d6f92d1b81e3577 /tests/serverhelp.pm
parent99a5a5a3e91eaa97dfa8cba5538570a2fc84eae1 (diff)
downloadcurl-01682cca550802401aefb0538416a17f8271fc88.tar.gz
Use '_stunnel.log' file name ending for stunneled server logs
Diffstat (limited to 'tests/serverhelp.pm')
-rw-r--r--tests/serverhelp.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/serverhelp.pm b/tests/serverhelp.pm
index 424697e5e..3fc20cf99 100644
--- a/tests/serverhelp.pm
+++ b/tests/serverhelp.pm
@@ -122,6 +122,7 @@ sub server_pidfilename {
sub server_logfilename {
my ($logdir, $proto, $ipver, $idnum) = @_;
my $trailer = '_server.log';
+ $trailer = '_stunnel.log' if(lc($proto) =~ /^(ftp|imap|pop3|smtp)s$/);
return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
}