Update of /cvsroot/netrek/client/cow In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv14071 Modified Files: distress.c Log Message: follow bill Index: distress.c =================================================================== RCS file: /cvsroot/netrek/client/cow/distress.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- distress.c 1 Nov 1998 17:24:09 -0000 1.1.1.1 +++ distress.c 15 Aug 2006 22:37:09 -0000 1.2 @@ -1,6 +1,9 @@ /* distress.c * * $Log$ + * Revision 1.2 2006/08/15 22:37:09 quozl + * follow bill + * * Revision 1.1.1.1 1998/11/01 17:24:09 siegl * COW 3.0 initial revision * */ @@ -587,7 +590,7 @@ buf3[index3] = '\0'; cry[0] = '\0'; - strncat(cry, buf3, MSG_LEN); + strncat(cry, buf3, MSG_LEN - 1); return (index3); }