summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-09-04 21:26:20 +0200
committerSilvan Jegen <s.jegen@gmail.com>2016-09-04 21:26:20 +0200
commitb2134c3e65938f96f3e1d631b2cee793cb27d298 (patch)
tree85518e57fee249c9ec8de8f165a2cef78586f723
parent47154f6a28b940e4bb0ef6b8d5191061554e8473 (diff)
Ignore program name
-rw-r--r--ezxml.c2
1 files changed, 1 insertions, 1 deletions
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]);
}