From b2134c3e65938f96f3e1d631b2cee793cb27d298 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Sun, 4 Sep 2016 21:26:20 +0200 Subject: Ignore program name --- ezxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezxml.c b/ezxml.c index 0057890..952b24d 100644 --- a/ezxml.c +++ b/ezxml.c @@ -19,7 +19,7 @@ int process(char *fn) { int main(int argc, char *argv[]) { - for (int i = 0; i < argc; i++) { + for (int i = 1; i < argc; i++) { process(argv[i]); } -- cgit v1.2.3