Return 0 for an error, 1 for no error from read_options;
authorBodo Möller <bodo@openssl.org>
Sat, 15 May 1999 11:46:00 +0000 (11:46 +0000)
committerBodo Möller <bodo@openssl.org>
Sat, 15 May 1999 11:46:00 +0000 (11:46 +0000)
that's what the calling code seems to expect.

util/mk1mf.pl

index 355143b703d84815746cde04b3ef91c67fa0be8b..fa2149e8ac3f86044146f8227a3ef7206af09efe 100755 (executable)
@@ -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);
        }