projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b9dba
)
Fix uip/whom.c for C89 compatibility
author
markus schnalke
<markus.schnalke@la-bw.de>
Wed, 8 Mar 2017 12:44:12 +0000
(13:44 +0100)
committer
markus schnalke
<markus.schnalke@la-bw.de>
Wed, 8 Mar 2017 12:44:12 +0000
(13:44 +0100)
uip/whom.c
patch
|
blob
|
history
diff --git
a/uip/whom.c
b/uip/whom.c
index
e664f4b
..
ef0b684
100644
(file)
--- a/
uip/whom.c
+++ b/
uip/whom.c
@@
-84,6
+84,7
@@
main(int argc, char **argv)
FILE *in;
struct msgs_array msgs = {0};
struct msgs_array files = {0};
+ size_t filep;
setlocale(LC_ALL, "");
invo_name = mhbasename(argv[0]);
@@
-162,7
+163,7
@@
main(int argc, char **argv)
if (parse_msgs(&msgs, folder, &files) < 0) {
exit(EX_IOERR);
}
- for (size_t filep = 0; filep < files.size; filep++) {
+ for (filep = 0; filep < files.size; filep++) {
process(files.msgs[filep]);
}