summaryrefslogtreecommitdiff
path: root/proto/rip/config.Y
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-12-06 11:59:18 +0000
committerMartin Mares <mj@ucw.cz>1998-12-06 11:59:18 +0000
commitb35d72ac668c52ef0755cedba89bdca54bd995ac (patch)
treed968e72890f19ff3d2986c318787bd697e257a31 /proto/rip/config.Y
parent2d9290e973b9cfc909057a0409152e020d1c29db (diff)
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 'proto/rip/config.Y')
-rw-r--r--proto/rip/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y
index fbe6fe19..33be05eb 100644
--- a/proto/rip/config.Y
+++ b/proto/rip/config.Y
@@ -64,7 +64,7 @@ rip_dev_add_iface(char *n)
{
struct iface_patt *k = cfg_alloc(sizeof(struct iface_patt));
- k->pattern = cfg_strcpy(n);
+ k->pattern = cfg_strdup(n);
add_tail(&THIS_PROTO->iface_list, &k->n);
}