Set msg[127] = 0

This commit is contained in:
twinaphex 2016-10-13 13:33:40 +02:00
parent 54448f3688
commit a4b90bcede

View File

@ -53,7 +53,7 @@ static int task_database_iterate_start(database_info_handle_t *db,
{
char msg[128];
msg[0] = '\0';
msg[0] = msg[127] = '\0';
snprintf(msg, sizeof(msg),
STRING_REP_ULONG "/" STRING_REP_ULONG ": %s %s...\n",