summaryrefslogtreecommitdiff
path: root/bin/csh/parse.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2009-01-22 10:02:35 +0000
committerDamien Miller <djm@cvs.openbsd.org>2009-01-22 10:02:35 +0000
commit0435102032a11e65c85556d97788aaa493e961c5 (patch)
tree427ca5c5b89340e1a6b64f29a1cdd06d754864f6 /bin/csh/parse.c
parenta0c3482df2bba2a7b24e534b155079910aed219d (diff)
make a2port() return -1 when it encounters an invalid port number
rather than 0, which it will now treat as valid (needed for future work) adjust current consumers of a2port() to check its return value is <= 0, which in turn required some things to be converted from u_short => int make use of int vs. u_short consistent in some other places too feedback & ok markus@
Diffstat (limited to 'bin/csh/parse.c')
0 files changed, 0 insertions, 0 deletions