[CF-Devel] Re: [Crossfire-cvs] CVS commit: crossfire

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Tue Jan 4 12:07:40 CST 2005


>
     
      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.

_______________________________________________
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