aboutsummaryrefslogtreecommitdiff
path: root/lib/libfetch/common.c
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2008-08-30 23:06:02 +0000
committerColin Percival <cperciva@FreeBSD.org>2008-08-30 23:06:02 +0000
commit00da648f59cf2966bf80f4f74832f9c5343cde1f (patch)
tree3d9f7bccb9431e1892318050b9551c0a7fc64994 /lib/libfetch/common.c
parent10c1f6808770a08b2973ffd82f9b0ccd94a37771 (diff)
Notes
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r--lib/libfetch/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c
index 13ebf649c053..155a2c879eba 100644
--- a/lib/libfetch/common.c
+++ b/lib/libfetch/common.c
@@ -655,7 +655,7 @@ fetch_read_word(FILE *f)
{
static char word[1024];
- if (fscanf(f, " %1024s ", word) != 1)
+ if (fscanf(f, " %1023s ", word) != 1)
return (NULL);
return (word);
}