Removing debug msgs
This commit is contained in:
parent
bd2ba4b7da
commit
281a4388e9
1 changed files with 0 additions and 5 deletions
|
@ -32,21 +32,16 @@ drop_privileges('nobody');
|
|||
|
||||
while (1) {
|
||||
my $listen_socket = $socket->accept();
|
||||
print "New incoming connection ...\n";
|
||||
my $thr = threads->create(\&connection_thread, $listen_socket);
|
||||
print "Joining ...";
|
||||
$thr->join();
|
||||
print "Joined\n";
|
||||
}
|
||||
|
||||
sub connection_thread {
|
||||
my ($listen_socket) = @_;
|
||||
print "New Thread\n";
|
||||
$_ = <$listen_socket>;
|
||||
s/\r*\n*//g;
|
||||
s/\t.*//g; # Don't care about the parameters now ...
|
||||
my $directory = $_;
|
||||
print "Client " . $.. ": <" . $_ . ">\n";
|
||||
|
||||
if (-f $directory) {
|
||||
if (substr($directory, 0, 4) eq "blog") {
|
||||
|
|
Reference in a new issue