Diff for /freem/src/strings.c between versions 1.4 and 1.5

version 1.4, 2025/04/09 19:52:02 version 1.5, 2025/04/10 01:24:39
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.5  2025/04/10 01:24:39  snw
    *   Remove C++ style comments
    *
  *   Revision 1.4  2025/04/09 19:52:02  snw   *   Revision 1.4  2025/04/09 19:52:02  snw
  *   Eliminate as many warnings as possible while building with -Wall   *   Eliminate as many warnings as possible while building with -Wall
  *   *
Line 110  short int stcat (char *dest, const char Line 113  short int stcat (char *dest, const char
     while ((dest[i] = *source++) != EOL) {      while ((dest[i] = *source++) != EOL) {
                         
        if (i++ >= STRLEN) {         if (i++ >= STRLEN) {
            //printf("i = %d\r\n", i);  
            dest[--i] = EOL;                     dest[--i] = EOL;        
            return FALSE;             return FALSE;
        }         }

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>