X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fssequal.c;h=95c67760cca621e3ebdaa670079d2901f0bad355;hp=e7a12adbd20fb2ca4ad4f45e9113f81054e4f087;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/sbr/ssequal.c b/sbr/ssequal.c index e7a12ad..95c6776 100644 --- a/sbr/ssequal.c +++ b/sbr/ssequal.c @@ -1,25 +1,25 @@ /* - * ssequal.c -- check if a string is a substring of another - * - * This code is Copyright (c) 2002, by the authors of nmh. See the - * COPYRIGHT file in the root directory of the nmh distribution for - * complete copyright information. - */ +** ssequal.c -- check if a string is a substring of another +** +** This code is Copyright (c) 2002, by the authors of nmh. See the +** COPYRIGHT file in the root directory of the nmh distribution for +** complete copyright information. +*/ #include /* - * THIS CODE DOES NOT WORK AS ADVERTISED. - * It is actually checking if s1 is a PREFIX of s2. - * All calls to this function need to be checked to see - * if that needs to be changed. Prefix checking is cheaper, so - * should be kept if it's sufficient. - */ +** THIS CODE DOES NOT WORK AS ADVERTISED. +** It is actually checking if s1 is a PREFIX of s2. +** All calls to this function need to be checked to see +** if that needs to be changed. Prefix checking is cheaper, so +** should be kept if it's sufficient. +*/ /* - * Check if s1 is a substring of s2. - * If yes, then return 1, else return 0. - */ +** Check if s1 is a substring of s2. +** If yes, then return 1, else return 0. +*/ int ssequal (char *s1, char *s2)