mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Name cleanups as suggested by Pavel:
- cfg_strcpy() -> cfg_strdup() - mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*] Anyway, it might be better to stop ranting about names and do some *real* work.
This commit is contained in:
@@ -101,7 +101,7 @@ rt_dev_add_iface(char *n)
|
||||
struct rt_dev_proto *p = (void *) this_proto;
|
||||
struct iface_patt *k = cfg_alloc(sizeof(struct iface_patt));
|
||||
|
||||
k->pattern = cfg_strcpy(n);
|
||||
k->pattern = cfg_strdup(n);
|
||||
add_tail(&p->iface_list, &k->n);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user