summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-08 11:21:08 +0100
committerJeremy Allison <jra@samba.org>2007-12-08 09:39:36 -0800
commit1e26ecf6660ef692ee6dbce14171da49a3833132 (patch)
tree28d5320cf1e5ab89e2395025d9d12a06787a4609 /source3/client
parent0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9 (diff)
downloadsamba-1e26ecf6660ef692ee6dbce14171da49a3833132.tar.gz
samba-1e26ecf6660ef692ee6dbce14171da49a3833132.tar.bz2
samba-1e26ecf6660ef692ee6dbce14171da49a3833132.zip
Fix C++ warnings
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index bbe5572a2d..1e2f96cbf2 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -4060,7 +4060,7 @@ static char **remote_completion(const char *text, int len)
info.samelen = info.len = len-i-1;
if (i > 0) {
- info.dirmask = SMB_MALLOC(i+2);
+ info.dirmask = SMB_MALLOC_ARRAY(char, i+2);
if (!info.dirmask) {
goto cleanup;
}