Used synergy::string::sprintf instead of append #4690
This commit is contained in:
parent
d83cb23cc7
commit
3498d1bc8e
|
@ -63,8 +63,7 @@ ToolApp::run(int argc, char** argv)
|
||||||
return kExitFailed;
|
return kExitFailed;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
String output("activeDesktop:");
|
String output = synergy::string::sprintf("activeDesktop:%s", name.c_str());
|
||||||
output.append(name);
|
|
||||||
LOG((CLOG_INFO "%s", output.c_str()));
|
LOG((CLOG_INFO "%s", output.c_str()));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue