summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-12-15 14:28:03 +0100
committerMichael Adam <obnox@samba.org>2008-12-15 14:46:11 +0100
commit0b0dc506d4b709b6373a19795276351285679eb3 (patch)
tree21dc8a388dab1ba18b9f9ac8927a0e22c893e5e6
parent6244194265f7f1027c16664b2701ce114435a59b (diff)
downloadsamba-0b0dc506d4b709b6373a19795276351285679eb3.tar.gz
samba-0b0dc506d4b709b6373a19795276351285679eb3.tar.bz2
samba-0b0dc506d4b709b6373a19795276351285679eb3.zip
s3:loadparm: rename free_parameter() to free_one_parameter_by_snum()
Michael
-rw-r--r--source3/param/loadparm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 43fd9d9d3a..580136446b 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4585,10 +4585,12 @@ static void init_printer_values(struct service *pService)
}
}
+
/**
- * Free the allocated data for one parameter for a given share.
+ * Free the allocated data for one parameter for a given share
+ * specified by an snum.
*/
-static void free_parameter(int snum, struct parm_struct parm)
+static void free_one_parameter_by_snum(int snum, struct parm_struct parm)
{
void *parm_ptr;
@@ -4621,7 +4623,7 @@ static void free_parameters(int snum)
uint32_t i;
for (i=0; parm_table[i].label; i++) {
- free_parameter(snum, parm_table[i]);
+ free_one_parameter_by_snum(snum, parm_table[i]);
}
}