diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-08 11:21:08 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-08 09:39:36 -0800 |
commit | 1e26ecf6660ef692ee6dbce14171da49a3833132 (patch) | |
tree | 28d5320cf1e5ab89e2395025d9d12a06787a4609 /source3/libsmb/clilist.c | |
parent | 0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9 (diff) | |
download | samba-1e26ecf6660ef692ee6dbce14171da49a3833132.tar.gz samba-1e26ecf6660ef692ee6dbce14171da49a3833132.tar.bz2 samba-1e26ecf6660ef692ee6dbce14171da49a3833132.zip |
Fix C++ warnings
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
Diffstat (limited to 'source3/libsmb/clilist.c')
-rw-r--r-- | source3/libsmb/clilist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index fc47f94aa1..2e4c360507 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -255,7 +255,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, break; } - param = SMB_MALLOC(12+nlen+last_name_raw.length+2); + param = SMB_MALLOC_ARRAY(char, 12+nlen+last_name_raw.length+2); if (!param) { break; } |