diff options
author | Jeremy Allison <jra@samba.org> | 2003-08-13 03:49:43 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-08-13 03:49:43 +0000 |
commit | c41fad7647c2d7e23ab7ceb6df18d9b8bbc13df4 (patch) | |
tree | 4a1bd63950d9475f348bb2921874f6ef98c89274 /source3/smbd/trans2.c | |
parent | c3b94254bd5b0699f5ec5cf6e71f41bded3a5f66 (diff) | |
download | samba-c41fad7647c2d7e23ab7ceb6df18d9b8bbc13df4.tar.gz samba-c41fad7647c2d7e23ab7ceb6df18d9b8bbc13df4.tar.bz2 samba-c41fad7647c2d7e23ab7ceb6df18d9b8bbc13df4.zip |
Query volume info level 2 fix - found by Samba4 tester.
Jeremy.
(This used to be commit fd86e2a38766af1cf01667c6f6248af7572b278f)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 86906fa5be..f81486b1ad 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1365,7 +1365,7 @@ static int call_trans2qfsinfo(connection_struct *conn, char *inbuf, char *outbuf * the called hostname and the service name. */ SIVAL(pdata,0,str_checksum(lp_servicename(snum)) ^ (str_checksum(local_machine)<<16) ); - len = srvstr_push(outbuf, pdata+l2_vol_szVolLabel, vname, -1, 0); + len = srvstr_push(outbuf, pdata+l2_vol_szVolLabel, vname, -1, STR_NOALIGN); SCVAL(pdata,l2_vol_cch,len); data_len = l2_vol_szVolLabel + len; DEBUG(5,("call_trans2qfsinfo : time = %x, namelen = %d, name = %s\n", |