$Log$
+ Revision 590.19 2001/12/28 09:28:04 error
+ * Server support for hostnames up to 63 characters
+
Revision 590.18 2001/12/26 05:01:30 ajc
* Added a new developer ID for Anticlimactic Teleservices
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
}
else {
safestrncpy(CC->cs_host, from_host, sizeof CC->cs_host);
- CC->cs_host[24] = 0;
+ CC->cs_host[sizeof CC->cs_host - 1] = 0;
}
}
int aide;
char un[40];
char real_room[ROOMNAMELEN], room[ROOMNAMELEN];
- char host[40], flags[5];
+ char host[64], flags[5];
aide = CC->usersupp.axlevel >= 6;
cprintf("%d%c \n", LISTING_FOLLOWS, CtdlCheckExpress() );
int cs_clienttyp; /* client type code */
int cs_clientver; /* client version number */
char cs_clientname[32]; /* name of client software */
- char cs_host[26]; /* host logged in from */
+ char cs_host[64]; /* host logged in from */
/* Beginning of cryptography - session nonce */
char cs_nonce[NONCE_SIZE]; /* The nonce for this session's next auth transaction */