mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
s4:libcli: Covscan: unchecked return value for file_save()
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
238d3603be
commit
6127509986
@ -106,7 +106,7 @@ NTSTATUS dgram_mailslot_browse_parse(struct dgram_mailslot_handler *dgmslot,
|
|||||||
DEBUG(0,("Failed to parse browse packet of length %d: %s\n",
|
DEBUG(0,("Failed to parse browse packet of length %d: %s\n",
|
||||||
(int)data.length, nt_errstr(status)));
|
(int)data.length, nt_errstr(status)));
|
||||||
if (DEBUGLVL(10)) {
|
if (DEBUGLVL(10)) {
|
||||||
file_save("browse.dat", data.data, data.length);
|
(void)file_save("browse.dat", data.data, data.length);
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user