summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-03-22 20:57:36 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-23 12:49:39 +1100
commit1d22c3919d08b4d18a1d021a407a98cb1402d7d7 (patch)
tree6d3a53bb42ca0d1886ff135d41f6a67ae6173c9e /source3/libsmb
parent1923b78209aaa2aa926dedd19e6c97fb449c48c8 (diff)
downloadsamba-1d22c3919d08b4d18a1d021a407a98cb1402d7d7.tar.gz
samba-1d22c3919d08b4d18a1d021a407a98cb1402d7d7.tar.bz2
samba-1d22c3919d08b4d18a1d021a407a98cb1402d7d7.zip
s3-safe_str: Futher simplify the macros by removing indirection
Now that we don't need to pass in the function name and string, another level of indirection can be safely removed, and the operation of these macros made much clearer. Andrew Bartlett
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clistr.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source3/libsmb/clistr.c b/source3/libsmb/clistr.c
index 8856e03dd0..373cce590d 100644
--- a/source3/libsmb/clistr.c
+++ b/source3/libsmb/clistr.c
@@ -58,21 +58,21 @@ size_t clistr_pull_fn(const char *inbuf,
src_len, flags);
}
-size_t clistr_pull_talloc_fn(TALLOC_CTX *ctx,
- const char *base,
- uint16_t flags2,
- char **pp_dest,
- const void *src,
- int src_len,
- int flags)
+size_t clistr_pull_talloc(TALLOC_CTX *ctx,
+ const char *base,
+ uint16_t flags2,
+ char **pp_dest,
+ const void *src,
+ int src_len,
+ int flags)
{
return pull_string_talloc_fn(ctx,
- base,
- flags2,
- pp_dest,
- src,
- src_len,
- flags);
+ base,
+ flags2,
+ pp_dest,
+ src,
+ src_len,
+ flags);
}
size_t clistr_align_out(struct cli_state *cli, const void *p, int flags)