Host wouldn't be printed due to forgotten i += 1;

This commit is contained in:
Palanix 2021-07-12 16:43:44 +02:00
parent 926279e440
commit 25d480e71f
1 changed files with 1 additions and 0 deletions

1
main.c
View File

@ -32,6 +32,7 @@ void host() {
fscanf(host, "%s", buffer);
snprintf( info[i], 149, COLOR"Host"SEPARATOR" "CLOSE"%s", buffer);
fclose(host);
i += 1;
}
void hname() {