Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-frigo committed Feb 25, 2006
1 parent f10cae7 commit 6f17dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbench2/my-getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ int my_getopt(int argc, char *argv[], const struct my_option *optarray)
} else {
/* short option */
for (l = optarray; l->short_name; ++l) {
if (*p == l->short_name) {
if (l->short_name < 128 && *p == l->short_name) {
++p;
switch (l->argtype) {
case NOARG:
Expand Down

0 comments on commit 6f17dbe

Please sign in to comment.