changeset 2426:bb7264ddaefd default tip

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