From: Bodo Möller Date: Sat, 15 May 1999 11:46:00 +0000 (+0000) Subject: Return 0 for an error, 1 for no error from read_options; X-Git-Tag: OpenSSL_0_9_3beta1~67 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ad2cb8b4f6e8715e54c9e4ec3059cfe0831fda87;p=oweals%2Fopenssl.git Return 0 for an error, 1 for no error from read_options; that's what the calling code seems to expect. --- diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 355143b703..fa2149e8ac 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -831,6 +831,6 @@ sub read_options elsif (/^-[lL].*$/) { $l_flags.="$_ "; } elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/) { $c_flags.="$_ "; } - else { return(1); } - return(0); + else { return(0); } + return(1); }