diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-21 16:50:43 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-01-21 11:32:06 +0100 |
commit | 39ee332f35d42b0c9f53961128a486c01576ea66 (patch) | |
tree | 2e9aed95d3858bdb03a9a4311247fdd2faadc15f /source3/web | |
parent | c55db47f1cf61ee343a7bd534904c32bf265325b (diff) | |
download | samba-39ee332f35d42b0c9f53961128a486c01576ea66.tar.gz samba-39ee332f35d42b0c9f53961128a486c01576ea66.tar.xz samba-39ee332f35d42b0c9f53961128a486c01576ea66.zip |
param: handle P_BYTES in more places
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/swat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index 3d6aaf4ca7..34974b400f 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -409,6 +409,7 @@ static void show_parameter(int snum, struct parm_struct *parm) break; case P_INTEGER: + case P_BYTES: printf("<input type=text size=8 name=\"parm_%s\" value=\"%d\">", make_parm_name(parm->label), *(int *)ptr); printf("<input type=button value=\"%s\" onClick=\"swatform.parm_%s.value=\'%d\'\">", _("Set Default"), make_parm_name(parm->label),(int)(parm->def.ivalue)); @@ -499,6 +500,7 @@ static void show_parameters(int snum, int allparameters, unsigned int parm_filte break; case P_INTEGER: + case P_BYTES: case P_OCTAL: if (*(int *)ptr == (int)(parm->def.ivalue)) continue; break; |