summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-09-22 23:56:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:04 -0500
commit352de0eaafc0f0503a06ba73813c7d6b92c39d9a (patch)
tree5465d8d7bcf3fab4dc4a4b2cc8e30cfb510f99a2 /source4
parente517b653ab6048cd35838e7f3699718c4a41cab5 (diff)
downloadsamba-352de0eaafc0f0503a06ba73813c7d6b92c39d9a.tar.gz
samba-352de0eaafc0f0503a06ba73813c7d6b92c39d9a.tar.bz2
samba-352de0eaafc0f0503a06ba73813c7d6b92c39d9a.zip
r2545: str_charnum -> strlen_m.
These two functions do exactly the same thing, I'll be removing str_charnum shortly. Andrew Bartlett (This used to be commit 5eaa4c97488671a0b7ff539d4d392cbaa29fa489)
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index 96471df1dc..314ab5028a 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -574,7 +574,7 @@ UserInfo24:
ZERO_STRUCT(u_info);
encode_pw_buffer(u_info.info24.password.data, r->samr.in.newpassword, STR_UNICODE);
/* w2k3 ignores this length */
- u_info.info24.pw_len = str_charnum(r->samr.in.newpassword)*2;
+ u_info.info24.pw_len = strlen_m(r->samr.in.newpassword)*2;
status = dcerpc_fetch_session_key(c.pdc.out.dcerpc_pipe, &session_key);
if (!NT_STATUS_IS_OK(status)) {