commit 534ccb326aa76c522b41729ea0c9ced931ec17f4
Author: Oswald Buddenhagen <[email protected]>
Date: Tue Jan 31 15:16:27 2006 +0000
backport: less confusing uid ranges in debug
src/sync.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sync.c b/src/sync.c
index 3722f01..347dfef 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -697,7 +697,7 @@ sync_boxes( store_t *mctx, const char *mname,
} else
maxwuid = 0;
info( "Selecting slave %s... ", sname );
- debug( "selecting slave [1,%d]\n", maxwuid );
+ debug( maxwuid == INT_MAX ? "selecting slave [1,inf]\n" : "selecting
slave [1,%d]\n", maxwuid );
switch (sdriver->select( sctx, (sctx->opts & OPEN_OLD) ? 1 : smaxuid +
1, maxwuid, 0, 0 )) {
case DRV_STORE_BAD: ret = SYNC_SLAVE_BAD; goto bail;
case DRV_BOX_BAD: ret = SYNC_FAIL; goto bail;
@@ -800,7 +800,7 @@ sync_boxes( store_t *mctx, const char *mname,
} else
maxwuid = 0;
info( "Selecting master %s... ", mname );
- debug( "selecting master [%d,%d]\n", minwuid, maxwuid );
+ debug( maxwuid == INT_MAX ? "selecting master [%d,inf]\n" : "selecting
master [%d,%d]\n", minwuid, maxwuid );
switch (mdriver->select( mctx, minwuid, maxwuid, mexcs, nmexcs )) {
case DRV_STORE_BAD: ret = SYNC_MASTER_BAD; goto finish;
case DRV_BOX_BAD: ret = SYNC_FAIL; goto finish;
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel