Index: ossp-pkg/act/act_mem.c RCS File: /v/ossp/cvs/ossp-pkg/act/act_mem.c,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/act/act_mem.c,v' 2>/dev/null --- act_mem.c 2000/08/18 15:35:57 1.5 +++ act_mem.c 2000/08/18 15:42:15 1.6 @@ -198,10 +198,9 @@ return (void *)&((const char *)haystack)[haystack_len - 1]; last_possible = (const char *)haystack + haystack_len - needle_len; for (begin = (const char *)haystack; begin <= last_possible; begin++) - if (*begin == *((const char *)needle) && - act_mem_cmp(&begin[1], (const char *)needle + 1, needle_len - 1) == 0) - - return (void *)begin; + if ( *begin == *((const char *)needle) + && act_mem_cmp(&begin[1], (const char *)needle + 1, needle_len - 1) == 0) + return (void *)begin; return NULL; }