]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Merge pull request #632 from patrakov/master
authorSolly Ross <directxman12+github@gmail.com>
Tue, 23 Aug 2016 19:11:03 +0000 (15:11 -0400)
committerGitHub <noreply@github.com>
Tue, 23 Aug 2016 19:11:03 +0000 (15:11 -0400)
Fixed BLIT RGB data buffer size

The RGB buffer size was incorrectly marked as `pixels * 4` instead of the correct `pixels * 3`

Fixes #615

utils/launch.sh

index af350b0abafd11a3ab2f0ca2b115719f5ece389e..3611954107c46b58bdd3fbaeb23ee3b9a8906edd 100755 (executable)
@@ -69,7 +69,7 @@ done
 which netstat >/dev/null 2>&1 \
     || die "Must have netstat installed"
 
-netstat -ltn | grep -qs "${PORT} .*LISTEN" \
+netstat -ltn | grep -qs ":${PORT} .*LISTEN" \
     && die "Port ${PORT} in use. Try --listen PORT"
 
 trap "cleanup" TERM QUIT INT EXIT