cviko8
This commit is contained in:
parent
8641a66494
commit
48ac369a2d
@ -60,6 +60,7 @@ int get_input(char *string){
|
||||
if(r==NULL){
|
||||
return -1;//EOF
|
||||
}
|
||||
string[strlen(string)-1]='\0';
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user