diff --git a/anketa b/anketa index 27f5c9f..59b1d8b 100755 Binary files a/anketa and b/anketa differ diff --git a/anketa.c b/anketa.c index 2bcd53b..b078a73 100644 --- a/anketa.c +++ b/anketa.c @@ -19,6 +19,8 @@ int search(struct student* students,const char* name){ a=strcmp(students[i].name,name); if(a==0){ return i; + }else{ + continue; } } return -1; diff --git a/anketa.o b/anketa.o index 2a4554e..30f651a 100644 Binary files a/anketa.o and b/anketa.o differ