diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-20 16:04:06 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-20 16:04:06 +0000 |
commit | 3ff9e98486c5c883a0d825ce3313415edeb838d5 (patch) | |
tree | 2395bc1638e6d77775aa15574bfbf3c75ab8d91d /netrc.c | |
parent | fcb6b0b6957003e1db8bca9acf42bddd9c677584 (diff) | |
download | fetchmail-3ff9e98486c5c883a0d825ce3313415edeb838d5.tar.gz fetchmail-3ff9e98486c5c883a0d825ce3313415edeb838d5.tar.bz2 fetchmail-3ff9e98486c5c883a0d825ce3313415edeb838d5.zip |
Use sizeof rather than macro to communicate buffer size to fgets.
svn path=/trunk/; revision=4151
Diffstat (limited to 'netrc.c')
-rw-r--r-- | netrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++; |