diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_reg_nt.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_reg_nt.c b/source3/rpc_server/srv_reg_nt.c index 4cd824c9ef..35a060c38e 100644 --- a/source3/rpc_server/srv_reg_nt.c +++ b/source3/rpc_server/srv_reg_nt.c @@ -537,9 +537,21 @@ WERROR _reg_enum_value(pipes_struct *p, REG_Q_ENUM_VALUE *q_u, REG_R_ENUM_VALUE goto done; } +#if 0 /* JERRY TEST CODE */ if ( val->type == REG_MULTI_SZ ) { - + char **str; + int num_strings = regval_convert_multi_sz( (uint16*)regval_data_p(val), regval_size(val), &str ); + uint16 *buffer; + size_t buf_size; + + + if ( num_strings ) + buf_size = regval_build_multi_sz( str, &buffer ); + + TALLOC_FREE( str ); + TALLOC_FREE( buffer ); } +#endif DEBUG(10,("_reg_enum_value: retrieved value named [%s]\n", val->valuename)); |