diff --git a/lib/krb5/changepw.c b/lib/krb5/changepw.c index 8c57092d1..3bf28d506 100644 --- a/lib/krb5/changepw.c +++ b/lib/krb5/changepw.c @@ -231,7 +231,7 @@ setpw_send_request (krb5_context context, *p++ = 0xff; *p++ = 0x80; *p++ = (ap_req_data.length >> 8) & 0xFF; - *p++ = (ap_req_data.length >> 0) & 0xFF; + *p = (ap_req_data.length >> 0) & 0xFF; memset(&msghdr, 0, sizeof(msghdr)); msghdr.msg_name = NULL;