summaryrefslogtreecommitdiff
path: root/scanopt.c
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2001-10-22 13:42:24 +0000
committerWill Estes <wlestes@users.sourceforge.net>2001-10-22 13:42:24 +0000
commit3cb447bf293324f50a3f3556d88ccbbddce5f40a (patch)
treea17f2a900104684e6de0a6c818468f4a93398ea2 /scanopt.c
parentc362f33c50875591822c18c3a9d633127c0cad68 (diff)
phew, millaway's latest batch
Diffstat (limited to 'scanopt.c')
-rw-r--r--scanopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scanopt.c b/scanopt.c
index 0adf512..9702ded 100644
--- a/scanopt.c
+++ b/scanopt.c
@@ -718,6 +718,7 @@ scanopt (svoid, arg, optindex)
optname = pstart;
namelen = 1;
+ is_short = 1;
if(!find_opt(s, 0, pstart, namelen, &errcode,&opt_offset)) {
return scanopt_err(s,opt_offset,1,errcode);