aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 90a9f474..b3650880 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -68,7 +68,7 @@ serv_option : PROTOCOL PROTO {prc_setproto($2);}
prc_setauth(A_KERBEROS);
prc_setport(KPOP_PORT);
}
- | PORT STRING {prc_setport($2);}
+ | PORT STRING {prc_setport(atoi($2));}
| SKIP {prc_setskip($1==FLAG_TRUE);}
| AUTHENTICATE PASSWORD {prc_setauth(A_PASSWORD);}
| AUTHENTICATE KERBEROS {prc_setauth(A_KERBEROS);}