EventLogger.cpp:

  fixed node id printout bug
parent ae618c7b
......@@ -789,7 +789,8 @@ EventLogger::getText(char * dst, size_t dst_len,
BaseString::snprintf(dst, dst_len, "Node %u: ", nodeId);
pos= strlen(dst);
}
textF(dst,dst_len,theData);
if (dst_len-pos > 0)
textF(dst+pos,dst_len-pos,theData);
return dst;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment