summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_srv.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-11-29 14:39:06 +0000
committerJean-François Micouleau <jfm@samba.org>2000-11-29 14:39:06 +0000
commit0e84103a54e27d8fce4c1eb5c947d46878c6ae5e (patch)
treeb2e83ed660a27349700de73b6fab6de251b48444 /source3/rpc_parse/parse_srv.c
parent6f044d9c4777d5a953ff578651c48683719eae5a (diff)
downloadsamba-0e84103a54e27d8fce4c1eb5c947d46878c6ae5e.tar.gz
samba-0e84103a54e27d8fce4c1eb5c947d46878c6ae5e.tar.bz2
samba-0e84103a54e27d8fce4c1eb5c947d46878c6ae5e.zip
alignment issues.
I hate that job ... J.F. (This used to be commit 97e3b293569cebd91b5f2b37a7578e2e2779ceb0)
Diffstat (limited to 'source3/rpc_parse/parse_srv.c')
-rw-r--r--source3/rpc_parse/parse_srv.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_srv.c b/source3/rpc_parse/parse_srv.c
index 6eeae80cfc..be7401ffc5 100644
--- a/source3/rpc_parse/parse_srv.c
+++ b/source3/rpc_parse/parse_srv.c
@@ -54,9 +54,11 @@ static BOOL srv_io_share_info1_str(char *desc, SH_INFO_1_STR *sh1, prs_struct *p
if(!prs_align(ps))
return False;
-
if(!smb_io_unistr2("", &sh1->uni_netname, True, ps, depth))
return False;
+
+ if(!prs_align(ps))
+ return False;
if(!smb_io_unistr2("", &sh1->uni_remark, True, ps, depth))
return False;
@@ -131,13 +133,21 @@ static BOOL srv_io_share_info2_str(char *desc, SH_INFO_2_STR *sh2, prs_struct *p
if(!prs_align(ps))
return False;
-
if(!smb_io_unistr2("", &sh2->uni_netname, True, ps, depth))
return False;
+
+ if(!prs_align(ps))
+ return False;
if(!smb_io_unistr2("", &sh2->uni_remark, True, ps, depth))
return False;
+
+ if(!prs_align(ps))
+ return False;
if(!smb_io_unistr2("", &sh2->uni_path, True, ps, depth))
return False;
+
+ if(!prs_align(ps))
+ return False;
if(!smb_io_unistr2("", &sh2->uni_passwd, True, ps, depth))
return False;