aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/files.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-02 01:57:24 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-02 01:57:24 +0000
commitb2d5b53433abd9090cbec86f55e2e0d2b94a23ba (patch)
treea63d257e0488633e315ee347efa607be75fc2eaa /networking/udhcp/files.c
parent1fd4a3228bbae6c4735687a08c10fdc1e81a5446 (diff)
downloadbusybox-w32-b2d5b53433abd9090cbec86f55e2e0d2b94a23ba.tar.gz
busybox-w32-b2d5b53433abd9090cbec86f55e2e0d2b94a23ba.tar.bz2
busybox-w32-b2d5b53433abd9090cbec86f55e2e0d2b94a23ba.zip
add a comment so that people won't get confused
git-svn-id: svn://busybox.net/trunk/busybox@17717 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking/udhcp/files.c')
-rw-r--r--networking/udhcp/files.c1
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 */