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;
|
||||
}
|
||||
else {
|
||||
String output("activeDesktop:");
|
||||
output.append(name);
|
||||
String output = synergy::string::sprintf("activeDesktop:%s", name.c_str());
|
||||
LOG((CLOG_INFO "%s", output.c_str()));
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue