diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-02 01:57:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-02 01:57:24 +0000 |
commit | e129f43c83893485b977a3eea35f428d6bab6565 (patch) | |
tree | a63d257e0488633e315ee347efa607be75fc2eaa /networking/udhcp | |
parent | 7fca91a3de3570ae0b3bec0d58fafb4ab90a95cd (diff) | |
download | busybox-w32-e129f43c83893485b977a3eea35f428d6bab6565.tar.gz busybox-w32-e129f43c83893485b977a3eea35f428d6bab6565.tar.bz2 busybox-w32-e129f43c83893485b977a3eea35f428d6bab6565.zip |
add a comment so that people won't get confused
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/files.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index 775f829dd..c3ab17de4 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c | |||
@@ -128,6 +128,7 @@ static void attach_option(struct option_set **opt_list, | |||
128 | existing->data = xrealloc(existing->data, | 128 | existing->data = xrealloc(existing->data, |
129 | existing->data[OPT_LEN] + length + 3); | 129 | existing->data[OPT_LEN] + length + 3); |
130 | if ((option->flags & TYPE_MASK) == OPTION_STRING) { | 130 | if ((option->flags & TYPE_MASK) == OPTION_STRING) { |
131 | /* ' ' can bring us to 256 - bad */ | ||
131 | if (existing->data[OPT_LEN] + length >= 255) | 132 | if (existing->data[OPT_LEN] + length >= 255) |
132 | return; | 133 | return; |
133 | /* add space separator between STRING options in a list */ | 134 | /* add space separator between STRING options in a list */ |