krb5 commit [krb5-1.11]: Fix typo for windows versions

Tom Yu tlyu at MIT.EDU
Fri Dec 7 13:09:46 EST 2012


https://github.com/krb5/krb5/commit/e0257d30d9046941f0777769a14e3ce707428f35
commit e0257d30d9046941f0777769a14e3ce707428f35
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.
    
    (cherry picked from commit de80646215b623b1ce16fe8a2c2db85bba531532)
    
    ticket: 7487 (new)
    queue: kfw

 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