mirror of
https://github.com/Motion-Project/motion.git
synced 2026-05-18 19:45:23 -04:00
Adjust log message formats
This commit is contained in:
@@ -490,9 +490,9 @@ void mythreadname_set(const char *abbr, int threadnbr, const char *threadname){
|
||||
* formatting.
|
||||
*/
|
||||
|
||||
char tname[16];
|
||||
char tname[32];
|
||||
if (abbr != NULL){
|
||||
snprintf(tname, sizeof(tname), "%s%d%s%s",abbr,threadnbr,
|
||||
snprintf(tname, sizeof(tname), "%s%02d%s%s",abbr,threadnbr,
|
||||
threadname ? ":" : "",
|
||||
threadname ? threadname : "");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user