diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-27 17:34:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-27 17:34:00 +0000 |
commit | e0ca7a370a20acf2732cbe4cd0e93d1751fb5366 (patch) | |
tree | 21f3f9fafddbb204d2fce5a5d31af2367388aa59 /fetchmail.h | |
parent | 5c09cbae3e433ed47a60ef02f3146926ac915094 (diff) | |
download | fetchmail-e0ca7a370a20acf2732cbe4cd0e93d1751fb5366.tar.gz fetchmail-e0ca7a370a20acf2732cbe4cd0e93d1751fb5366.tar.bz2 fetchmail-e0ca7a370a20acf2732cbe4cd0e93d1751fb5366.zip |
Added the wildcard option.
svn path=/trunk/; revision=575
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fetchmail.h b/fetchmail.h index 451b3234..194b472c 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -63,6 +63,7 @@ struct query /* per-host data */ char servername [HOSTLEN+1]; struct idlist *localnames; + int wildcard; /* true if unmatched names should be passed through */ int protocol; int port; int authenticate; @@ -105,7 +106,8 @@ struct query #endif /* HAVE_GETHOSTBYNAME */ }; -#define MULTIDROP(ctl) ((ctl)->localnames && (ctl)->localnames->next) +#define MULTIDROP(ctl) (ctl->wildcard || \ + ((ctl)->localnames && (ctl)->localnames->next)) struct method { |