diff options
author | ache <ache@FreeBSD.org> | 1995-08-30 17:59:59 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-08-30 17:59:59 +0000 |
commit | 4f5b58151b96992b4434717b56813e9aa06fcb3b (patch) | |
tree | c09008b33bfd86ea6037206c81ed37fe2de3d296 /lib | |
parent | 852aeb529c4ca9476000b2d0c488e7cb47a2ec98 (diff) | |
download | FreeBSD-src-4f5b58151b96992b4434717b56813e9aa06fcb3b.zip FreeBSD-src-4f5b58151b96992b4434717b56813e9aa06fcb3b.tar.gz |
Change my parse fix from 'return argc' to 'return 0'.
Pointed by: davidg
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libedit/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/parse.c b/lib/libedit/parse.c index 140a71d..5f648a1 100644 --- a/lib/libedit/parse.c +++ b/lib/libedit/parse.c @@ -98,7 +98,7 @@ el_parse(el, argc, argv) int i; if (argc < 1) - return argc; + return 0; for (ptr = argv[0]; *ptr && *ptr != ':'; ptr++) continue; |