aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-04-27 23:48:49 +0200
committerDuncaen <mail@duncano.de>2017-04-27 23:49:12 +0200
commitb57c2d9b096321f3bd17e5a8fad7f919318dc2b1 (patch)
tree46e797642d3e757ec484e469514b70e14f1ee44d
parentb21daa47d6a2e32b7775aae36b69947ee9c504a0 (diff)
downloadmblaze-b57c2d9b096321f3bd17e5a8fad7f919318dc2b1.tar.gz
mpick: make message numbers starting at one
fixes #29
-rw-r--r--mpick.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpick.c b/mpick.c
index 9bc216f..c6b401a 100644
--- a/mpick.c
+++ b/mpick.c
@@ -1125,6 +1125,7 @@ main(int argc, char *argv[])
argv0 = argv[0];
now = time(0);
+ num = 1;
while ((c = getopt(argc, argv, "Tt:")) != -1)
switch (c) {