pike.git
/
NT
/
tools
/
sprshd
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/NT/tools/sprshd:57:
io->write(sprintf("%4c",69)); } } io->close("w"); destruct(io); } int main(int argc, string *argv) {
-
if(
c
<2)
+
if(
argc
<2)
{ werror("Usage: sprshd <port> <host to accept connections from>\n"); exit(1); } if(!bind((int)argv[1])) { werror("Failed to bind port.\n"); exit(1); }