summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-26 16:57:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:58 -0500
commit49839f356f493d0de1b719c8c3bfdee4713c0728 (patch)
tree62055f766b1dea0f06a623e8454d22994dd500f2 /source4/libcli/util
parentf801ad359290c51d3216c755fb2a8344babb484f (diff)
downloadsamba-49839f356f493d0de1b719c8c3bfdee4713c0728.tar.gz
samba-49839f356f493d0de1b719c8c3bfdee4713c0728.tar.bz2
samba-49839f356f493d0de1b719c8c3bfdee4713c0728.zip
r10513: Reduce some use of pstring. The main reason some parts of the code still
use pstring is next_token() now. (This used to be commit a5b88bcd420eb7ae42283293541519e142be36e3)
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/nterr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index 08cd844b3a..ca8605faea 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -835,7 +835,7 @@ const char *get_nt_error_c_code(NTSTATUS nt_code)
/*****************************************************************************
returns the NT_STATUS constant matching the string supplied (as an NTSTATUS)
*****************************************************************************/
-NTSTATUS nt_status_string_to_code(char *nt_status_str)
+NTSTATUS nt_status_string_to_code(const char *nt_status_str)
{
int idx = 0;