master/slave.c
changeset 1082 ff06c58e269c
parent 1079 ef1266652c4d
child 1183 d77f634ab0b5
--- a/master/slave.c	Wed Jul 02 12:19:25 2008 +0000
+++ b/master/slave.c	Wed Jul 02 14:06:10 2008 +0000
@@ -365,7 +365,7 @@
 
     if (count) {
         total_count = count + slave->sii.sync_count;
-        if (total_count > EC_MAX_SYNCS) {
+        if (total_count > EC_MAX_SYNC_MANAGERS) {
             EC_ERR("Exceeded maximum number of sync managers!\n");
             return -1;
         }