1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 16:16:46 +02:00

small fix

This commit is contained in:
Jfreegman
2013-10-18 22:18:48 -04:00
parent e8d2f9418b
commit fe0ccf52e9
2 changed files with 2 additions and 2 deletions

View File

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