1
0
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:
Andrew Bartlett 2014-01-15 14:13:13 +13:00 committed by Michael Adam
parent 7ddb58dcd9
commit c7790d63e8

View File

@ -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;