diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-08-31 03:38:48 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-08-31 03:38:48 +0000 |
commit | af53e774d754d72b01d9840e8b45d27bc394e33d (patch) | |
tree | 0296d18bb18f2f17c6187f004442355b517c76ea | |
parent | 604468c6eedfa7a8ac62800cf7cf73cbd969ae45 (diff) | |
download | samba-af53e774d754d72b01d9840e8b45d27bc394e33d.tar.gz samba-af53e774d754d72b01d9840e8b45d27bc394e33d.tar.xz samba-af53e774d754d72b01d9840e8b45d27bc394e33d.zip |
Fix up some compile issues. We can't have C99 comments and add a smattering
of const.
-rw-r--r-- | source/rpc_parse/parse_misc.c | 2 | ||||
-rw-r--r-- | source/rpc_parse/parse_net.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/rpc_parse/parse_misc.c b/source/rpc_parse/parse_misc.c index 2a6560f8cea..3015e383fda 100644 --- a/source/rpc_parse/parse_misc.c +++ b/source/rpc_parse/parse_misc.c @@ -786,7 +786,7 @@ void init_buf_unistr2(UNISTR2 *str, uint32 *ptr, const char *buf) Copies a UNISTR2 structure. ********************************************************************/ -void copy_unistr2(UNISTR2 *str, UNISTR2 *from) +void copy_unistr2(UNISTR2 *str, const UNISTR2 *from) { /* set up string lengths. add one if string is not null-terminated */ diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c index 37bf6755b7b..7f777c9434f 100644 --- a/source/rpc_parse/parse_net.c +++ b/source/rpc_parse/parse_net.c @@ -1977,14 +1977,14 @@ static BOOL net_io_sam_account_info(char *desc, uint8 sess_key[16], if (ps->io) { /* reading */ -// FIXME prs_hash1(ps, ps->offset, sess_key); +/* // FIXME prs_hash1(ps, ps->offset, sess_key); */ } net_io_sam_passwd_info("pass", &(info->pass), ps, depth); if (!ps->io) { /* writing */ -// FIXME TOO prs_hash1(ps, old_offset, sess_key); +/* // FIXME TOO prs_hash1(ps, old_offset, sess_key); */ } } ps->data_offset = old_offset + len; |