Lines Matching refs:existing
203 struct option_set *existing, *new, **curr;
205 /* add it to an existing option */
206 if ((existing = find_option(*opt_list, option->code))) {
207 DEBUG(LOG_INFO, "Attaching option %s to existing member of list", option->name);
209 if (existing->data[OPT_LEN] + length <= 255) {
210 existing->data = realloc(existing->data,
211 existing->data[OPT_LEN] + length + 2);
212 memcpy(existing->data + existing->data[OPT_LEN] + 2, buffer, length);
213 existing->data[OPT_LEN] += length;