mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
CVE-2022-37966 s3:client: Fix old-style function definition
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 81f4335dfb
)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
130c4877b3
commit
a89385f2ab
@ -218,7 +218,7 @@ static NTSTATUS is_subpath(const char *sub, const char *full,
|
||||
/*
|
||||
* tar_get_ctx - retrieve global tar context handle
|
||||
*/
|
||||
struct tar *tar_get_ctx()
|
||||
struct tar *tar_get_ctx(void)
|
||||
{
|
||||
return &tar_ctx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user