aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-10-20 09:14:04 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-10-20 09:14:04 +0000
commit334cb452bfee4d0511f9591292903d01f58efaf9 (patch)
tree21d7baddc9b7fde16dfa1c315693623649144083 /rcfile_y.y
parent65f9c5e8d026830b0fbd2583007c507e5e6e2b78 (diff)
downloadfetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.gz
fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.bz2
fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.zip
Fix miscellaneous warnings.
svn path=/trunk/; revision=3953
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y8
1 files changed, 3 insertions, 5 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 95fc4f69..e11a3687 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -157,7 +157,7 @@ serv_option : AKA alias_list
#else
current.server.authenticate = A_KERBEROS_V4;
#endif /* KERBEROS_V5 */
-#if INET6_ENABLE
+#ifdef INET6_ENABLE
current.server.service = KPOP_PORT;
#else /* INET6_ENABLE */
current.server.port = KPOP_PORT;
@@ -179,12 +179,12 @@ serv_option : AKA alias_list
| CHECKALIAS {current.server.checkalias = FLAG_TRUE;}
| NO CHECKALIAS {current.server.checkalias = FLAG_FALSE;}
| SERVICE STRING {
-#if INET6_ENABLE
+#ifdef INET6_ENABLE
current.server.service = $2;
#endif /* INET6_ENABLE */
}
| PORT NUMBER {
-#if INET6_ENABLE
+#ifdef INET6_ENABLE
int port = $2;
char buf[10];
sprintf(buf, "%d", port);
@@ -603,5 +603,3 @@ char *prependdir (const char *file, const char *dir)
int yywrap(void) {return 1;}
/* rcfile_y.y ends here */
-
-