Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20831/src Modified Files: main.c Log Message: Fix to username/password string length. Added lib file to debug build (only had added it to release build before). Added some new server problems that I discovered. Index: main.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/main.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- main.c 28 May 2006 06:28:14 -0000 1.8 +++ main.c 19 Jun 2006 04:46:03 -0000 1.9 @@ -122,7 +122,7 @@ case 'C': /* character name */ if (i < argc && argv[i + 1]) { - (void) STRNCPY (pseudo, argv[i + 1], sizeof (argv[i + 1])); + (void) STRNCPY (pseudo, argv[i + 1], sizeof pseudo); i++; } else @@ -132,7 +132,7 @@ case 'A': /* authorization password */ if (i < argc && argv[i + 1]) { - (void) STRNCPY (defpasswd, argv[i + 1], sizeof (argv[i + 1])); + (void) STRNCPY (defpasswd, argv[i + 1], sizeof defpasswd); i++; } else