Skip to content

Commit

Permalink
reduce excessive log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
russross committed Jan 25, 2010
1 parent 2a4e928 commit fa91e56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions s3request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,12 @@ size_t uploadCallback(void *data, size_t blockSize, size_t numBlocks,
{
int *fd = static_cast<int *>(userPtr);
size_t len = read(*fd, data, blockSize * numBlocks);
#ifdef DEBUG_WIRE
if (len != blockSize * numBlocks) {
syslog(LOG_INFO, "uploadCallback: short read [%u] != [%u]",
(unsigned) len, (unsigned) (blockSize * numBlocks));
}
#endif
return len;
}

Expand Down

0 comments on commit fa91e56

Please sign in to comment.