krb5 commit: Fix typo for windows versions

Benjamin Kaduk kaduk at MIT.EDU
Wed Dec 5 18:23:02 EST 2012


https://github.com/krb5/krb5/commit/de80646215b623b1ce16fe8a2c2db85bba531532
commit de80646215b623b1ce16fe8a2c2db85bba531532
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Wed Dec 5 18:21:53 2012 -0500

    Fix typo for windows versions
    
    We omit the patchlevel if it is zero, but the check whether
    the patchlevel was zero was checking the wrong variable, and thus
    always succeeding.
    
    ticket: 7481 (new)
    queue: kfw
    tags: pullup
    target_version: 1.10.4

 src/windows/version.rc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/windows/version.rc b/src/windows/version.rc
index d2c341d..275867f 100644
--- a/src/windows/version.rc
+++ b/src/windows/version.rc
@@ -12,7 +12,7 @@
 
 #define MAJOR_MINOR STR(KRB5_MAJOR_RELEASE) "." STR(KRB5_MINOR_RELEASE)
 
-#if KRB5_PATCH_LEVEL != 0
+#if KRB5_PATCHLEVEL != 0
 #define MAYBE_PATCH "." STR(KRB5_PATCHLEVEL)
 #else
 #define MAYBE_PATCH ""


More information about the cvs-krb5 mailing list