mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib/param: Fix copy_service to handle BOOLREV
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Jan 29 11:11:11 CET 2014 on sn-devel-104
This commit is contained in:
parent
7ddb58dcd9
commit
c7790d63e8
@ -924,6 +924,7 @@ static void copy_service(struct loadparm_service *pserviceDest,
|
||||
|
||||
switch (parm_table[i].type) {
|
||||
case P_BOOL:
|
||||
case P_BOOLREV:
|
||||
*(bool *)dest_ptr = *(bool *)src_ptr;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user