diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-08 01:54:29 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-08 01:54:29 +0000 |
commit | a1d701d05a71507e48a3e433bd7f4af5746649cd (patch) | |
tree | e2c0b0a5f54dacdeab01dcdc93b54fca968ed0b8 /tests | |
parent | a114b7b1c062e86691bfec04595153b67734b7c7 (diff) |
Use '_stunnel.log' ending also for https test server log
Diffstat (limited to 'tests')
-rw-r--r-- | tests/serverhelp.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serverhelp.pm b/tests/serverhelp.pm index 3fc20cf99..35dda01c5 100644 --- a/tests/serverhelp.pm +++ b/tests/serverhelp.pm @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -122,7 +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$/); + $trailer = '_stunnel.log' if(lc($proto) =~ /^(ftp|http|imap|pop3|smtp)s$/); return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer"; } |