diff options
author | Michael Adam <obnox@samba.org> | 2008-12-15 14:16:06 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-12-15 14:16:06 +0100 |
commit | 91c543f0b5a539da4194f14dee8cad0f980a117e (patch) | |
tree | e22c67a53de18b0c3098fcfbf9579f26355444da /source3/web | |
parent | 606abdceacfcad19735cd80f59aad975a9e97b7c (diff) | |
download | samba-91c543f0b5a539da4194f14dee8cad0f980a117e.tar.gz samba-91c543f0b5a539da4194f14dee8cad0f980a117e.tar.bz2 samba-91c543f0b5a539da4194f14dee8cad0f980a117e.zip |
s3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()
Michael
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/swat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index 27c4b54e2f..b729e3b241 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -232,7 +232,7 @@ static void show_parameter(int snum, struct parm_struct *parm) TALLOC_CTX *ctx = talloc_stackframe(); if (parm->p_class == P_LOCAL && snum >= 0) { - ptr = lp_local_ptr(snum, ptr); + ptr = lp_local_ptr_by_snum(snum, ptr); } printf("<tr><td>%s</td><td>", get_parm_translated(ctx, @@ -375,7 +375,7 @@ static void show_parameters(int snum, int allparameters, unsigned int parm_filte void *ptr = parm->ptr; if (parm->p_class == P_LOCAL && snum >= 0) { - ptr = lp_local_ptr(snum, ptr); + ptr = lp_local_ptr_by_snum(snum, ptr); } switch (parm->type) { |