This commit is contained in:
Maksym Malko 2020-11-27 10:33:42 +01:00
parent 8641a66494
commit 48ac369a2d

View File

@ -60,6 +60,7 @@ int get_input(char *string){
if(r==NULL){
return -1;//EOF
}
string[strlen(string)-1]='\0';
return 1;
}