aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-03-24 14:37:09 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-03-24 14:37:09 +0200
commitb1401baf175eaea316afa773a9971c1ed7ce10d7 (patch)
tree97beee7b93ed78d32824d800315fd412b01bca36
parentd6102982ae0e69a2c75cd2a499ba3909516cc0ae (diff)
downloadpies-b1401baf175eaea316afa773a9971c1ed7ce10d7.tar.gz
pies-b1401baf175eaea316afa773a9971c1ed7ce10d7.tar.bz2
Bugfix
* lib/split3.c: Return correct error code.
-rw-r--r--lib/split3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/split3.c b/lib/split3.c
index ee302e8..e7e8c85 100644
--- a/lib/split3.c
+++ b/lib/split3.c
@@ -79,5 +79,5 @@ strsplit3 (const char *input, char *result[3], int flag)
result[1] = tmp[1];
result[2] = tmp[2];
}
- return 0;
+ return rc;
}

Return to:

Send suggestions and report system problems to the System administrator.