The ping is accepted.

This commit is contained in:
Denis 2011-06-15 05:50:05 -07:00
parent d578b1d4ed
commit d3c7cfd14a

View file

@ -53,11 +53,11 @@ version(Windows)
static assert(sep.length == 1 && altsep.length == 1);
private bool isSep(dchar ch) {
return (ch == sep[0]) | (ch == altsep[0]);
return ch == sep[0] || ch == altsep[0];
}
private bool isSepOrDriveSep(dchar ch) {
return isSep(ch) | (ch == ':');
return isSep(ch) || ch == ':';
}
}
version(Posix)