mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
Use FUNCTION_MACRO, not __FUNCTION__
(This used to be commit 6df38e250a
)
This commit is contained in:
parent
ba47af4ec2
commit
4985533fd3
@ -272,8 +272,8 @@ struct cli_state *cli_initialise(struct cli_state *cli)
|
||||
memset(cli->inbuf, 0, cli->bufsize);
|
||||
|
||||
/* just becouse we over-allocate, doesn't mean it's right to use it */
|
||||
clobber_region(__FUNCTION__, __LINE__, cli->outbuf+cli->bufsize, SAFETY_MARGIN);
|
||||
clobber_region(__FUNCTION__, __LINE__, cli->inbuf+cli->bufsize, SAFETY_MARGIN);
|
||||
clobber_region(FUNCTION_MACRO, __LINE__, cli->outbuf+cli->bufsize, SAFETY_MARGIN);
|
||||
clobber_region(FUNCTION_MACRO, __LINE__, cli->inbuf+cli->bufsize, SAFETY_MARGIN);
|
||||
|
||||
/* initialise signing */
|
||||
cli_null_set_signing(cli);
|
||||
|
Loading…
Reference in New Issue
Block a user