summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-04 15:30:01 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-06 07:51:24 +0200
commit344eb08ee4e444c1fc1beac26e50c6a85b942885 (patch)
tree858b257029ba787fea480ce3e724c3f521bf9817 /libcli
parentc83aed2568761adda5f4f09e044788557767347e (diff)
downloadsamba-344eb08ee4e444c1fc1beac26e50c6a85b942885.tar.gz
samba-344eb08ee4e444c1fc1beac26e50c6a85b942885.tar.bz2
samba-344eb08ee4e444c1fc1beac26e50c6a85b942885.zip
nterr: Add mem_ctx for return string from get_nt_error_c_code()
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
Diffstat (limited to 'libcli')
-rw-r--r--libcli/util/ntstatus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h
index 3e7c629695..d53f4bbc52 100644
--- a/libcli/util/ntstatus.h
+++ b/libcli/util/ntstatus.h
@@ -641,7 +641,7 @@ const char *get_friendly_nt_error_msg(NTSTATUS nt_code);
/*****************************************************************************
returns an NT_STATUS constant as a string for inclusion in autogen C code
*****************************************************************************/
-const char *get_nt_error_c_code(NTSTATUS nt_code);
+const char *get_nt_error_c_code(void *mem_ctx, NTSTATUS nt_code);
/*****************************************************************************
returns the NT_STATUS constant matching the string supplied (as an NTSTATUS)