shithub: mc

Download patch

ref: 23fa90ceb4bc4d189ccee49016aa3bda8f29250d
parent: 9f03baca7cf1e2bb69b9f28429127b9e43d0f8ee
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;