Skip to content

Commit

Permalink
Fix typo for windows versions
Browse files Browse the repository at this point in the history
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 de80646)

ticket: 7481
status: resolved
  • Loading branch information
kaduk authored and tlyu committed Dec 5, 2012
1 parent 49a26d8 commit 725786e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 725786e

Please sign in to comment.