summaryrefslogtreecommitdiff
path: root/CommModule
diff options
context:
space:
mode:
authorWytze van der Raay <wytze@cacert.org>2014-12-13 20:31:16 +0100
committerBenny Baumann <BenBE@geshi.org>2014-12-13 20:31:16 +0100
commitfeea340cb19b979ae796a27fa749da037ac50bd9 (patch)
treeb5fb29cf96935de5a0c993c66e8c180b7422a481 /CommModule
parent1cc5257aba1e6ae883caf464eaadf25783d2279d (diff)
downloadcacert-devel-feea340cb19b979ae796a27fa749da037ac50bd9.tar.gz
cacert-devel-feea340cb19b979ae796a27fa749da037ac50bd9.tar.xz
cacert-devel-feea340cb19b979ae796a27fa749da037ac50bd9.zip
bug 1343: Properly terminate the CommModule when rquestedbug-1343
Diffstat (limited to 'CommModule')
-rwxr-xr-xCommModule/server.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommModule/server.pl b/CommModule/server.pl
index 6084042..abc1a1c 100755
--- a/CommModule/server.pl
+++ b/CommModule/server.pl
@@ -1002,7 +1002,7 @@ my @ready=$sel->can_read($starttime);
my $count=0;
#As soon as the client connected successfully, the client has to send a request faster than every 10 seconds
-while(@ready = $sel->can_read(15) && -f "./server.pl-active")
+while((@ready = $sel->can_read(15)) && -f "./server.pl-active")
{
my $data="";
#my $length=read SER,$data,1;