diff options
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 69b58b619a..703011f6cf 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -757,7 +757,7 @@ get_uname(void) tor_snprintf(uname_result, sizeof(uname_result), "Unrecognized version of Windows [major=%d,minor=%d] %s", (int)info.dwMajorVersion,(int)info.dwMinorVersion, - infor.szCSDVersion); + info.szCSDVersion); } if (info.wProductType == VER_NT_DOMAIN_CONTROLLER) { strlcat(uname_result, " [domain controller]", sizeof(uname_result)); @@ -768,7 +768,7 @@ get_uname(void) } leftover_mask = info.wSuiteMask; for (i = 0; win_mask_table[i].mask; ++i) { - if (info.wSuiteMask & win_mask_table[i]) { + if (info.wSuiteMask & win_mask_table[i].mask) { strlcat(uname_result, win_mask_table[i].str, sizeof(uname_result)); leftover_mask &= ~win_mask_table[i].mask; } |