mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 16:16:46 +02:00
small fix
This commit is contained in:
@ -136,7 +136,7 @@ static void chat_onFileSendRequest(ToxWindow *self, Tox *m, int num, uint8_t fil
|
||||
uint8_t cur_time[MAX_STR_SIZE];
|
||||
snprintf(cur_time, sizeof(cur_time), ".%02d:%02d:%02d", timeinfo->tm_hour, timeinfo->tm_min,
|
||||
timeinfo->tm_sec);
|
||||
strncat(filename, cur_time, MAX_STR_SIZE);
|
||||
strncat(filename, cur_time, MAX_STR_SIZE - strlen(filename));
|
||||
fclose(filecheck);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user