Fix bug in previous commit

This commit is contained in:
Guangcong Luo
2013-04-01 20:40:00 -07:00
parent 77b6a00399
commit 7a34df13d6

View File

@@ -58,6 +58,7 @@ if ($psim) {
if ($hyphenpos) {
if (substr($server, $hyphenpos + 1) === 'afd') {
$afd = true;
$server = substr($server, 0, $hyphenpos);
} else {
$serverport = substr($server, $hyphenpos + 1);
$server = substr($server, 0, $hyphenpos);