diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-13 16:45:09 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-13 16:45:09 +0000 |
commit | e0ec82cf5e4e9ca3070ed5a3ff51b1ff927fe7f4 (patch) | |
tree | fd6b972516acea5c0155abaef7282a63bb36708f /fetchmail.c | |
parent | 3fb4233b2db4486b6e593546798604bbdaf45613 (diff) | |
download | fetchmail-e0ec82cf5e4e9ca3070ed5a3ff51b1ff927fe7f4.tar.gz fetchmail-e0ec82cf5e4e9ca3070ed5a3ff51b1ff927fe7f4.tar.bz2 fetchmail-e0ec82cf5e4e9ca3070ed5a3ff51b1ff927fe7f4.zip |
Add settable server-nonresponse timeout
svn path=/trunk/; revision=325
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 5299b25a..b21cdaef 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -111,7 +111,7 @@ char **argv; } def_opts.protocol = P_AUTO; - + def_opts.timeout = CLIENT_TIMEOUT; strcpy(def_opts.remotename, user); strcpy(def_opts.smtphost, "localhost"); @@ -544,6 +544,11 @@ struct hostrec *queryctl; putchar('\n'); if (queryctl->authenticate == A_KERBEROS) printf(" Kerberos authentication enabled.\n"); + printf(" Server nonresponse timeout is %d seconds", queryctl->timeout); + if (queryctl->timeout == CLIENT_TIMEOUT) + printf(" (default).\n"); + else + printf("\n."); printf(" %s messages will be retrieved (--all %s).\n", queryctl->fetchall ? "All" : "Only new", |