2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-25 06:50:01 +00:00

Fix variable that was not declared after refactor

This commit is contained in:
Jarrod Johnson 2021-04-06 08:20:10 -04:00
parent 670fc87e1d
commit 1f238a3f8b

View File

@ -199,7 +199,7 @@ int main(int argc, char* argv[]) {
outvt = get_termentbyname(cmdbuf);
if (outvt != NULL)
dump_vt(outvt);
idx = write(1, "\x00", 1);
length = write(1, "\x00", 1);
if (idx < 0)
continue;
}