summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-03-26 02:41:20 +0000
committerAndrew Tridgell <tridge@samba.org>2004-03-26 02:41:20 +0000
commit83b9f88e26ba00651cdd05e5b30884c8b41b5e0c (patch)
tree85b8b048f384ab9a6b97ee4fc7ed7fef354416bc /source4/smb_server
parent47dfe299c8a5a64ade88d15ecf71f99800ea40cd (diff)
downloadsamba-83b9f88e26ba00651cdd05e5b30884c8b41b5e0c.tar.gz
samba-83b9f88e26ba00651cdd05e5b30884c8b41b5e0c.tar.bz2
samba-83b9f88e26ba00651cdd05e5b30884c8b41b5e0c.zip
copy with a null volume name in a trans2 QFSINFO call
(This used to be commit 96c54df6facc8d1d5ef559ebc3e7e0953d89b2ab)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/trans2.c b/source4/smb_server/trans2.c
index 6a15aad137..bc51191aa6 100644
--- a/source4/smb_server/trans2.c
+++ b/source4/smb_server/trans2.c
@@ -187,7 +187,7 @@ static void trans2_append_data_string(struct request_context *req,
const int max_bytes_per_char = 3;
offset = trans->out.data.length;
- trans2_grow_data(req, trans, offset + (2+strlen(str->s))*max_bytes_per_char);
+ trans2_grow_data(req, trans, offset + (2+strlen_m(str->s))*max_bytes_per_char);
ret = trans2_push_data_string(req, trans, len_offset, offset, str, -1, flags);
trans2_grow_data(req, trans, offset + ret);
}