Skip to content

Commit

Permalink
Fixed the command line error so that -p4 argument is working again
Browse files Browse the repository at this point in the history
  • Loading branch information
akashgoswami committed May 13, 2014
1 parent f608d97 commit 2ae52d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VirtualMonitor/VNCDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int VNCDisplay::Init(DisplayParam &param, char *pVideoMemory)
}

}
if (ipv4Port == 0 || ipv6Port == 0)
if (ipv4Port == 0 && ipv6Port == 0)
vncServer->autoPort = 1;
else
{
Expand Down

0 comments on commit 2ae52d6

Please sign in to comment.