aboutsummaryrefslogtreecommitdiffstats
path: root/netrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'netrc.c')
-rw-r--r--netrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netrc.c b/netrc.c
index 03c6e5be..1eaf85df 100644
--- a/netrc.c
+++ b/netrc.c
@@ -102,7 +102,7 @@ parse_netrc (file)
premature_token = NULL;
/* While there are lines in the file... */
- while (fgets(buf, POPBUFSIZE, fp))
+ while (fgets(buf, sizeof(buf) - 1, fp))
{
ln++;