summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-03-01 00:46:30 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-01 02:13:22 +0100
commit243abcb0af981d17dd7dd6c4d9908b855b15e90c (patch)
tree606ea3705f94c855110f1f4998b7d4f1197493e1 /source3/libsmb
parent608c8e787253f01b24f95c1523187a0a37737691 (diff)
downloadsamba-243abcb0af981d17dd7dd6c4d9908b855b15e90c.tar.gz
samba-243abcb0af981d17dd7dd6c4d9908b855b15e90c.tar.bz2
samba-243abcb0af981d17dd7dd6c4d9908b855b15e90c.zip
s3-build __FUNCTION__ is always available, always use it
This avoids duplication between FUNCTION_NAME and __FUNCTION__
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index e26c1718d8..096dd2f3fd 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -618,8 +618,8 @@ struct cli_state *cli_initialise_ex(int signing_state)
#if defined(DEVELOPER)
/* just because we over-allocate, doesn't mean it's right to use it */
- clobber_region(FUNCTION_MACRO, __LINE__, cli->outbuf+cli->bufsize, SAFETY_MARGIN);
- clobber_region(FUNCTION_MACRO, __LINE__, cli->inbuf+cli->bufsize, SAFETY_MARGIN);
+ clobber_region(__FUNCTION__, __LINE__, cli->outbuf+cli->bufsize, SAFETY_MARGIN);
+ clobber_region(__FUNCTION__, __LINE__, cli->inbuf+cli->bufsize, SAFETY_MARGIN);
#endif
/* initialise signing */