From 352de0eaafc0f0503a06ba73813c7d6b92c39d9a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 22 Sep 2004 23:56:22 +0000 Subject: 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) --- source4/libnet/libnet_passwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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)) { -- cgit