Minor change. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Wed, 05 Dec 2012 10:22:43 +0100
branchstable-1.5
changeset 2468 3134b7255f3d
parent 2467 74ede087bc85
child 2469 634ba3b1eb95
Minor change.
master/domain.c
--- a/master/domain.c	Tue Dec 04 16:05:23 2012 +0100
+++ b/master/domain.c	Wed Dec 05 10:22:43 2012 +0100
@@ -658,8 +658,8 @@
 
     state->working_counter = wc;
 
-    if (state->working_counter) {
-        if (state->working_counter == domain->expected_working_counter) {
+    if (wc) {
+        if (wc == domain->expected_working_counter) {
             state->wc_state = EC_WC_COMPLETE;
         } else {
             state->wc_state = EC_WC_INCOMPLETE;