mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 19:43:26 +01:00
...
This commit is contained in:
parent
aa53076e11
commit
27c5013697
@ -35,7 +35,7 @@
|
|||||||
- uint8_t s[MAX_STR_SIZE];
|
- uint8_t s[MAX_STR_SIZE];
|
||||||
- strftime(s, MAX_STR_SIZE, "%Y-%m-%d[%H:%M:%S]", get_time());
|
- strftime(s, MAX_STR_SIZE, "%Y-%m-%d[%H:%M:%S]", get_time());
|
||||||
- snprintf(ident, sizeof(ident), "%s", s);
|
- snprintf(ident, sizeof(ident), "%s", s);
|
||||||
+ snprintf(ident, sizeof(ident), "[%s]", (int)time(NULL));
|
+ snprintf(ident, sizeof(ident), "[%d]", (int)time(NULL));
|
||||||
path_len += strlen(ident) + 1;
|
path_len += strlen(ident) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user