summaryrefslogtreecommitdiff
path: root/utils/settrans.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-12-06 20:34:56 +0000
committerMiles Bader <miles@gnu.org>1995-12-06 20:34:56 +0000
commite6a6d4d6481b317c014953f9b94c3b8a9ae5b9a8 (patch)
tree3c3b5922f51567ef8db3b75a067b4dde09155574 /utils/settrans.c
parentff638986da5a5e6890a346da7a63901b84401b51 (diff)
(main):
Change uses of the INDEX field in argp_state structures to use NEXT instead.
Diffstat (limited to 'utils/settrans.c')
-rw-r--r--utils/settrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/settrans.c b/utils/settrans.c
index a235a426..ced090f2 100644
--- a/utils/settrans.c
+++ b/utils/settrans.c
@@ -82,10 +82,10 @@ main(int argc, char *argv[])
{
case ARGP_KEY_ARG:
node_name = arg;
- err = argz_create (state->argv + state->index, &argz, &argz_len);
+ err = argz_create (state->argv + state->next, &argz, &argz_len);
if (err)
error(3, err, "Can't create options vector");
- state->index = state->argc; /* stop parsing */
+ state->next = state->argc; /* stop parsing */
break;
case ARGP_KEY_NO_ARGS: