VirtualMonitor/VirtualMonitor — pull request #6 by akashgoswami (2014-05-13 20:11:35+00:00)
Title: Fixed the command line error so that -p4 argument is working again

currently "virtualmonitor.exe -p4 5901" option is not working. The reason is because of incorrect condition check vncServer->autoPort is reinitialized to 1 again. It should only be so when both ipv4Port and ipv6Port are zero