summaryrefslogtreecommitdiffstats
path: root/lib/libedit
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-08-30 17:59:59 +0000
committerache <ache@FreeBSD.org>1995-08-30 17:59:59 +0000
commit4f5b58151b96992b4434717b56813e9aa06fcb3b (patch)
treec09008b33bfd86ea6037206c81ed37fe2de3d296 /lib/libedit
parent852aeb529c4ca9476000b2d0c488e7cb47a2ec98 (diff)
downloadFreeBSD-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/libedit')
-rw-r--r--lib/libedit/parse.c2
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;
OpenPOWER on IntegriCloud