Explorar el Código

Make room for null-terminator

master
sin hace 9 años
padre
commit
ea0cce7b63
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      noice.c

+ 1
- 1
noice.c Ver fichero

@@ -331,7 +331,7 @@ readln(void)

echo();
curs_set(TRUE);
getnstr(ln, sizeof(ln));
getnstr(ln, sizeof(ln) - 1);
noecho();
curs_set(FALSE);
return strdup(ln);


Cargando…
Cancelar
Guardar