diff --git a/src/createEmployeeAccount.c b/src/createEmployeeAccount.c index 8532456..ab4f38a 100644 --- a/src/createEmployeeAccount.c +++ b/src/createEmployeeAccount.c @@ -17,18 +17,18 @@ int StringLengthCounter(char* string) } -bool isValidEmployeeID(char* employeeId, int maximumLength) +bool isValidEmployeeID(const char* employeeId, int maximumStringLength) { int employeeIdLength = strlen(employeeId); - int i; - for(i=0;i #include -bool isValidEmployeeID(char* employee, int maximumLength); +bool isValidEmployeeID(const char* employee, int maximumLength); bool createNewEmployee(char* employeeId, char* employeePassword); int StringLengthCounter(char* string);