summaryrefslogtreecommitdiff
path: root/mh/mh_whom.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-04-26 11:57:24 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-04-26 11:57:24 +0000
commit450c78b7f461aeac6c3fc27aab8a6ffac0a2ffdd (patch)
tree0d6fd7058d30faee134ddff15ee1d5cddcdbdf46 /mh/mh_whom.c
parent1400dc96cd6c44ac2c2f3bfa41bda952107cea99 (diff)
downloadmailutils-450c78b7f461aeac6c3fc27aab8a6ffac0a2ffdd.tar.gz
mailutils-450c78b7f461aeac6c3fc27aab8a6ffac0a2ffdd.tar.bz2
(mh_alias_expand): Initialize incl
Diffstat (limited to 'mh/mh_whom.c')
-rw-r--r--mh/mh_whom.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mh/mh_whom.c b/mh/mh_whom.c
index 97efe5c59..6e3440621 100644
--- a/mh/mh_whom.c
+++ b/mh/mh_whom.c
@@ -1,5 +1,5 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
- Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -59,7 +59,9 @@ mh_alias_expand (char *str, mu_address_t *paddr, int *incl)
size_t i;
char *buf;
mu_address_t exaddr = NULL;
-
+
+ if (incl)
+ *incl = 0;
mu_argcv_get (str, ",", NULL, &argc, &argv);
for (i = 0; i < argc;)
{

Return to:

Send suggestions and report system problems to the System administrator.