| 429 | }; |
| 430 | |
| 431 | static int match_string(const char *date, const char *str) |
| 432 | { |
| 433 | int i = 0; |
| 434 | |
| 435 | for (i = 0; *date; date++, str++, i++) { |
| 436 | if (*date == *str) |
| 437 | continue; |
| 438 | if (toupper(*date) == toupper(*str)) |
| 439 | continue; |
| 440 | if (!isalnum(*date)) |
| 441 | break; |
| 442 | return 0; |
| 443 | } |
| 444 | return i; |
| 445 | } |
| 446 | |
| 447 | static int skip_alpha(const char *date) |
| 448 | { |
no outgoing calls
no test coverage detected