Fix value comparison bug in tracker.cpp
This commit is contained in:
parent
b12ebbacd4
commit
f336183eb6
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ namespace pvpgn
|
|||
bn_int_nset(&packet.total_games, gamelist_total_games());
|
||||
|
||||
static struct utsname utsbuf = {};
|
||||
if (utsbuf.sysname[0] == '0')
|
||||
if (utsbuf.sysname[0] == '\0')
|
||||
{
|
||||
if (uname(&utsbuf) != 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue