summaryrefslogtreecommitdiff
path: root/source3/torture/masktest.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-08-08 17:01:00 -0700
committerJeremy Allison <jra@samba.org>2012-08-09 12:08:18 -0700
commitb70f23c2b581c5d455362ab37f4846de9a910055 (patch)
treecf95e8d35a03d1e39d5926d2e03d7046d42cae64 /source3/torture/masktest.c
parentce21d0804012da27cec72abe896352d7f0e7e1e5 (diff)
downloadsamba-b70f23c2b581c5d455362ab37f4846de9a910055.tar.gz
Correctly check for errors in strlower_m() returns.
Diffstat (limited to 'source3/torture/masktest.c')
-rw-r--r--source3/torture/masktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index 74f33a5cddc..58e09822a14 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -269,12 +269,12 @@ static NTSTATUS listfn(const char *mnt, struct file_info *f, const char *s,
fstrcpy(state->short_name, f->short_name ? f->short_name : "");
- strlower_m(state->short_name);
+ (void)strlower_m(state->short_name);
*state->pp_long_name = SMB_STRDUP(f->name);
if (!*state->pp_long_name) {
return NT_STATUS_NO_MEMORY;
}
- strlower_m(*state->pp_long_name);
+ (void)strlower_m(*state->pp_long_name);
return NT_STATUS_OK;
}