[CF-Devel] Re: [Crossfire-cvs] CVS commit: crossfire
crossfire-devel at archives.real-time.com
crossfire-devel at archives.real-time.com
Wed Jan 5 02:02:50 CST 2005
Andreas Kirschbaum wrote:
>>
Index: crossfire/common/re-cmp.c
>
>
[...]
>
>>
+ else if (str+1 != 0)
>>
+ return re_cmp(str+1, regexp);
>
>
>
IMHO, this check can't be correct: str is a string (declared as
>
"char *str"). Therefore "str+1 != 0" is always true.
Correct - I'll fix that.
I'll have to double check that all that match logic still does work expected,
since I did test it before making the commit and that is where I found some of
the errors. Can't see it making that much a difference, but never know.
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list