1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 00:13:01 +01:00
This commit is contained in:
Sean 2014-03-12 23:18:46 -07:00
parent aa53076e11
commit 27c5013697

View File

@ -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;
} }