X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/767e669eb7c50e5dd7e1ec9aae5c06c2b66b0819..fc0d9e42eafa6999fad8dc0887fb12e1a4a8699d:/sbr/mf.c diff --git a/sbr/mf.c b/sbr/mf.c index 870a0a52..084643b4 100644 --- a/sbr/mf.c +++ b/sbr/mf.c @@ -26,8 +26,8 @@ static int my_lex (char *); int isfrom(const char *string) { - return (HasPrefix(string, "From ") - || HasPrefix(string, ">From ")); + return (has_prefix(string, "From ") + || has_prefix(string, ">From ")); } @@ -52,8 +52,8 @@ lequal (const char *a, const char *b) static int isat (const char *p) { - return HasPrefix(p, " AT ") || HasPrefix(p, " At ") || - HasPrefix(p, " aT ") || HasPrefix(p, " at "); + return has_prefix(p, " AT ") || has_prefix(p, " At ") || + has_prefix(p, " aT ") || has_prefix(p, " at "); }