From: Yang Tse Date: Wed, 21 Nov 2007 17:50:30 +0000 (+0000) Subject: Fix trying to return outside of a subroutine X-Git-Tag: curl-7_18_0~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b86eecb9492c5723a762962567b2ff0b32541fa;p=curl Fix trying to return outside of a subroutine --- diff --git a/tests/httpsserver.pl b/tests/httpsserver.pl index 648b148df..3cc6c1ea9 100644 --- a/tests/httpsserver.pl +++ b/tests/httpsserver.pl @@ -60,7 +60,7 @@ my $conffile="$path/stunnel.conf"; # stunnel configuration data my $certfile="$srcdir/stunnel.pem"; # stunnel server certificate my $pidfile="$path/.$proto.pid"; # stunnel process pid file -open(CONF, ">$conffile") || return 1; +open(CONF, ">$conffile") || exit 1; print CONF " CApath=$path cert = $certfile