[Pkg-running-devel] [antpm] 03/14: ant: provide insight into values if assumption fails

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Sat Oct 10 11:28:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

ralovich-guest pushed a commit to branch master
in repository antpm.

commit d9805dc299e0f55f22fbc481048ae29b9b1cb8a7
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Tue Aug 18 22:34:07 2015 +0200

    ant: provide insight into values if assumption fails
    
    910XT seemed to failed this a few times.
---
 src/AntMessenger.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp
index b2dacf2..5105d04 100644
--- a/src/AntMessenger.cpp
+++ b/src/AntMessenger.cpp
@@ -647,7 +647,7 @@ AntMessenger::ANTFS_Download( const uchar chan, const ushort file, std::vector<u
 
     if(dlIter==0) fileSize = resp->fileSize;
     //fprintf(loggerc(), "fileSize = %u = 0x%08x\n", (uint)fileSize, (uint)fileSize);
-    CHECK_RETURN_FALSE(fileSize == resp->fileSize);
+    ASSURE_EQ_RET_FALSE(fileSize, resp->fileSize);
     //fprintf(loggerc(), "nextOffset = %u = 0x%08x\n", (uint)nextOffset, (uint)nextOffset);
     //logger() << std::dec;
     //LOG_VAR(fileSize);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git



More information about the Pkg-running-devel mailing list