Code

bugfix: multitasking
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 18:32:11 +0000 (18:32 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 18:32:11 +0000 (18:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9692 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index e18545c310a075f5bfeb780d14909407e02c2540..86d9151d002acdd5af7a0b76dadab6ac902d03d3 100755 (executable)
@@ -969,9 +969,9 @@ sub handle_task_result {
             if( defined $session_reference ) {
                 $heap = $session_reference->get_heap();
             }
-        }     
+        }
+        $heap->{'client'}->put($client_answer);
     }
-    $heap->{client}->put($client_answer);
     $kernel->sig(CHLD => "child_reap");
 }
 
@@ -1174,9 +1174,6 @@ sub process_task {
     print @$output;
 
 
-#    print STDERR $client_answer."\n";
-#    print $client_answer;
-#      return;
 }