diff options
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; |