]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Rename a poorly-named variable
authorHarlan Stenn <stenn@ntp.org>
Wed, 19 Apr 2023 07:37:17 +0000 (02:37 -0500)
committerHarlan Stenn <stenn@ntp.org>
Wed, 19 Apr 2023 07:37:17 +0000 (02:37 -0500)
bk: 643f9a2dxn-xojgapw56Ry-An3UEKg

ChangeLog
ntpd/ntp_crypto.c

index 5a6d7836eeb3408a298fe42d9f189b8e7b6b29b7..6a333b89beaba40fdc1a125157c52cc8f99ac65e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -75,6 +75,7 @@
              Integrated patch from Brian Utterback. <hart@ntp.org>
 * [Bug 2525] Turn on automake subdir-objects across the project. <hart@ntp.org>
 * [Bug 2410] syslog an error message on panic exceeded. <brian.utterback@oracle.com>
+* Rename a poorly-named variable.  <stenn@ntp.org>
 * Disable "embedded NUL in string" messages in libopts, when we can. <stenn@>
 * Use https in the AC_INIT URLs in configure.ac.  <stenn@ntp.org>
 * Implement NTP_FUNC_REALPATH.  <stenn@ntp.org>
index 2f82c4cfb0dcd6559d5e052b8e47d47e5447ff88..4a4207683331eebc007872d8605649f050cbf755 100644 (file)
@@ -1395,11 +1395,11 @@ crypto_xmit(
         * puppy; if a response, return so the sender can flame, too.
         */
        if (rval != XEVNT_OK) {
-               u_int32 uint32;
+               u_int32 opcode_bits;
 
-               uint32 = CRYPTO_ERROR;
-               opcode |= uint32;
-               fp->opcode |= htonl(uint32);
+               opcode_bits = CRYPTO_ERROR;
+               opcode |= opcode_bits;
+               fp->opcode |= htonl(opcode_bits);
                snprintf(statstr, sizeof(statstr),
                    "%04x %d %02x %s", opcode, associd, rval,
                    eventstr(rval));