Skip to content

Commit

Permalink
Correct debug statement to only log the current chunk.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmichalek committed Dec 31, 2015
1 parent 515afe5 commit 6c545f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symmetric-client-clib/src/io/writer/ProtocolDataWriter.c
Expand Up @@ -160,7 +160,7 @@ size_t SymProtocolDataWriter_process(SymProtocolDataWriter *this, char *buffer,

if (numBytes > 0) {
memcpy(buffer, this->sb->str, numBytes);
SymLog_debug("Writing data: %s\n", this->sb->str);
SymLog_debug("Writing data: %.*s\n", numBytes, this->sb->str);
}

if (bufferFull) {
Expand Down

0 comments on commit 6c545f0

Please sign in to comment.