diff options
author | Martin Mares <mj@ucw.cz> | 1998-12-06 12:59:18 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-12-06 12:59:18 +0100 |
commit | b35d72ac668c52ef0755cedba89bdca54bd995ac (patch) | |
tree | d968e72890f19ff3d2986c318787bd697e257a31 /nest/config.Y | |
parent | 2d9290e973b9cfc909057a0409152e020d1c29db (diff) | |
download | bird-b35d72ac668c52ef0755cedba89bdca54bd995ac.tar bird-b35d72ac668c52ef0755cedba89bdca54bd995ac.zip |
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.
Diffstat (limited to 'nest/config.Y')
-rw-r--r-- | nest/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y index 7b82ba7..9843654 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -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); } |