buffet
This commit is contained in:
parent
68027a623e
commit
236d1063a3
@ -49,8 +49,9 @@ struct tree* search(struct tree* this){
|
||||
}*/
|
||||
char c = getchar();
|
||||
char buffer[50];
|
||||
buffer[strlen(buffer)-1]='\0';
|
||||
|
||||
memset(buffer, 0, 50);
|
||||
int x = strlen(buffer);
|
||||
buffer[x-1]='\0';
|
||||
memcpy(buffer, this->value, 50);
|
||||
//printf("%s\n", buffer);
|
||||
if(buffer[0] != '*'){
|
||||
|
Loading…
Reference in New Issue
Block a user