diff options
author | Michael Adam <obnox@samba.org> | 2011-07-21 17:13:24 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-21 17:24:17 +0200 |
commit | 8223eb7a27549a079dcf6d81009f8ec3f127b4c8 (patch) | |
tree | 2cb1353ee7738ca73358331abea2df87170b042f | |
parent | 8ecf51a553533e8f95e57236903553b3e81b06fc (diff) | |
download | samba-8223eb7a27549a079dcf6d81009f8ec3f127b4c8.tar.gz samba-8223eb7a27549a079dcf6d81009f8ec3f127b4c8.tar.bz2 samba-8223eb7a27549a079dcf6d81009f8ec3f127b4c8.zip |
s3:loadparm: add support for P_BYTES to is_default() - fix build warning
-rw-r--r-- | source3/param/loadparm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 27266964d5..7e870bd775 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -7731,6 +7731,7 @@ static bool is_default(int i) case P_INTEGER: case P_OCTAL: case P_ENUM: + case P_BYTES: return parm_table[i].def.ivalue == *(int *)lp_parm_ptr(NULL, &parm_table[i]); |