Merge pull request #12 from zjf/patch-2

Update rabit-inl.h
This commit is contained in:
Tianqi Chen 2015-04-23 23:16:49 -07:00
commit 6601939588

View File

@ -174,7 +174,7 @@ inline void TrackerPrintf(const char *fmt, ...) {
va_start(args, fmt);
vsnprintf(&msg[0], kPrintBuffer, fmt, args);
va_end(args);
msg.resize(strlen(msg.c_str());
msg.resize(strlen(msg.c_str()));
TrackerPrint(msg);
}
#endif