diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-02-18 03:41:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-02-18 03:41:53 +0000 |
commit | cf6c6a28b0631a29085ceeca86c980c0a6e4022d (patch) | |
tree | aa10931caa577ef8f37d690f7f05dd970ab1ce83 /rcfile_y.y | |
parent | c5cfa5bee8bb00850ef37062e68e542b02a87d6b (diff) | |
download | fetchmail-cf6c6a28b0631a29085ceeca86c980c0a6e4022d.tar.gz fetchmail-cf6c6a28b0631a29085ceeca86c980c0a6e4022d.tar.bz2 fetchmail-cf6c6a28b0631a29085ceeca86c980c0a6e4022d.zip |
Various minor bug fixes.
svn path=/trunk/; revision=2757
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -162,10 +162,15 @@ serv_option : AKA alias_list #endif /* INET6_ENABLE */ } | PORT NUMBER { -#if !INET6_ENABLE +#if INET6_ENABLE + int port = $2; + char buf[10]; + sprintf(buf, "%d", port); + current.server.service = xstrdup(buf); +#else current.server.port = $2; -#endif /* !INET6_ENABLE */ - } +#endif /* INET6_ENABLE */ + } | INTERVAL NUMBER {current.server.interval = $2;} | PREAUTHENTICATE PASSWORD {current.server.preauthenticate = A_PASSWORD;} | PREAUTHENTICATE KERBEROS4 {current.server.preauthenticate = A_KERBEROS_V4;} |