diff --git a/src/createEmployeeAccount.c b/src/createEmployeeAccount.c index 39f2bac..edd9262 100644 --- a/src/createEmployeeAccount.c +++ b/src/createEmployeeAccount.c @@ -82,18 +82,15 @@ bool isValidPhoneNumber(char *phoneNumber) bool isValidAdress(char *street,char* city,int houseNumber,int postalCode) { - int lengthMax = 20; - int LengthMin = 3; bool validStreet = true; bool validHouseNumber = true; bool validCity = true; bool validpostalCode = true; - if(strlen(street)>lengthMax || strlen(street)maximalAdressLength || strlen(street)lengthMax || strlen(city)maximalAdressLength || strlen(city)