From 159b4709e023540be2f8b0fa9f304d4bbcad039c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 12 Feb 2008 09:38:14 +0100 Subject: [PATCH] Renamed `net.cache_path' to `net.cache_name', it's more logical. --- lib/init.c | 2 +- lib/names-cache.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/init.c b/lib/init.c index 45c7590..737112e 100644 --- a/lib/init.c +++ b/lib/init.c @@ -69,7 +69,7 @@ pci_alloc(void) pci_set_name_list_path(a, PCI_PATH_IDS_DIR "/" PCI_IDS, 0); #ifdef PCI_USE_DNS pci_define_param(a, "net.domain", PCI_ID_DOMAIN, "DNS domain used for resolving of ID's"); - pci_define_param(a, "net.cache_path", "~/.pciids-cache", "Name of the ID cache file"); + pci_define_param(a, "net.cache_name", "~/.pciids-cache", "Name of the ID cache file"); a->id_lookup_mode = PCI_LOOKUP_CACHE; #endif for(i=0; ipw_dir) + strlen(name+1) + 1); sprintf(buf, "%s%s", pw->pw_dir, name+1); - pci_set_param_internal(a, "net.cache_path", buf, 0); + pci_set_param_internal(a, "net.cache_name", buf, 0); return buf; } -- 2.39.2