diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-04 15:30:01 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-06 07:51:24 +0200 |
commit | 344eb08ee4e444c1fc1beac26e50c6a85b942885 (patch) | |
tree | 858b257029ba787fea480ce3e724c3f521bf9817 /source3/include | |
parent | c83aed2568761adda5f4f09e044788557767347e (diff) | |
download | samba-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 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 2305a7ac68..a6e9cf9b5d 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1976,7 +1976,6 @@ bool get_dc_name(const char *domain, const char *nt_errstr(NTSTATUS nt_code); const char *get_friendly_nt_error_msg(NTSTATUS nt_code); -const char *get_nt_error_c_code(NTSTATUS nt_code); NTSTATUS nt_status_string_to_code(const char *nt_status_str); NTSTATUS nt_status_squash(NTSTATUS nt_status); |