diff options
-rw-r--r-- | src/wordsplit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wordsplit.c b/src/wordsplit.c index 4e633fa..af747b3 100644 --- a/src/wordsplit.c +++ b/src/wordsplit.c | |||
@@ -839,3 +839,3 @@ wordsplit_finish (struct wordsplit *wsp) | |||
839 | { | 839 | { |
840 | wsp->ws_error = WRDSE_EOF; | 840 | wsp->ws_errno = WRDSE_EOF; |
841 | return WRDSE_EOF; | 841 | return WRDSE_EOF; |
@@ -1165,3 +1165,3 @@ wsplt_assign_param (struct wordsplit *wsp, int param_idx, char *value) | |||
1165 | if (param_idx < 0) | 1165 | if (param_idx < 0) |
1166 | return WRDSE_BADPARAM; | 1166 | return _wsplt_seterr (wsp, WRDSE_BADPARAM); |
1167 | if (param_idx == wsp->ws_paramc) | 1167 | if (param_idx == wsp->ws_paramc) |
@@ -1212,3 +1212,3 @@ wsplt_assign_param (struct wordsplit *wsp, int param_idx, char *value) | |||
1212 | else if (param_idx > wsp->ws_paramc) | 1212 | else if (param_idx > wsp->ws_paramc) |
1213 | return WRDSE_BADPARAM; | 1213 | return _wsplt_seterr (wsp, WRDSE_BADPARAM); |
1214 | 1214 | ||