ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/myhttpd/shell.pl
(Generate patch)

Comparing Coro/myhttpd/shell.pl (file contents):
Revision 1.6 by root, Sat Aug 11 16:34:47 2001 UTC vs.
Revision 1.7 by root, Sat Aug 11 16:53:59 2001 UTC

46 or die "unable to bind cmdshell port: $!"; 46 or die "unable to bind cmdshell port: $!";
47 47
48 push @listen_sockets, $port; 48 push @listen_sockets, $port;
49 49
50 async { 50 async {
51 while () {
51 async \&shell, $port->accept 52 async \&shell, scalar $port->accept;
52 while 1; 53 }
53 }; 54 };
54} 55}
55 56
56# bind to stdin (debug) 57# bind to stdin (debug)
57if (1) { 58if (1) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines