changeset 636:c5ce9a4bfc3e

Fix the check for --long option argument.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 21 Jan 2020 07:54:42 +0200
parents d191ded8a790
children 8e6caddfe117
files th_args.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_args.c	Tue Jan 21 07:16:18 2020 +0200
+++ b/th_args.c	Tue Jan 21 07:54:42 2020 +0200
@@ -50,7 +50,7 @@
                 currArg[len] == '=')
             {
                 opt = node;
-                optArg = (&currArg[len+1] != 0) ? &currArg[len+1] : NULL;
+                optArg = (currArg[len+1] != 0) ? &currArg[len+1] : NULL;
                 break;
             }
         }