shithub: mc

Download patch

ref: 307f6ff68bfa490e9cdece9b3cc6ec7acbf7b343
parent: 87b4515f7e065029ec88eca6f6133f53223def8a
author: Ori Bernstein <[email protected]>
date: Sun Oct 5 11:32:01 EDT 2014

Fix typo: optarg -> curarg.

--- a/parse/util.c
+++ b/parse/util.c
@@ -490,7 +490,7 @@
         }
         findnextopt(ctx);
     } else {
-        if (*ctx->optarg == '\0')
+        if (*ctx->curarg == '\0')
             findnextopt(ctx);
     }
     return c;