-char floorlist[128][256];
+char floorlist[128][SIZ];
/*
void load_floorlist(void)
{
int a;
- char buf[256];
+ char buf[SIZ];
for (a = 0; a < 128; ++a)
floorlist[a][0] = 0;
*/
void listrms(char *variety)
{
- char buf[256];
+ char buf[SIZ];
int num_rooms = 0;
struct roomlisting *rl = NULL;
void list_all_rooms_by_floor(void)
{
int a;
- char buf[256];
+ char buf[SIZ];
load_floorlist();
*/
void readinfo(void)
{
- char buf[256];
+ char buf[SIZ];
serv_puts("RINF");
serv_gets(buf);
* another room.
*/
void embed_room_graphic(void) {
- char buf[256];
+ char buf[SIZ];
serv_puts("OIMG _roompic_");
serv_gets(buf);
void embed_room_banner(char *got) {
- char fakegot[256];
+ char fakegot[SIZ];
/* We need to have the information returned by a GOTO server command.
* If it isn't supplied, we fake it by issuing our own GOTO.
*/
void gotoroom(char *gname, int display_name)
{
- char buf[256];
+ char buf[SIZ];
static long ls = (-1L);
*/
void gotonext(void)
{
- char buf[256];
+ char buf[SIZ];
struct march *mptr, *mptr2;
char next_room[32];
*/
void slrp_highest(void)
{
- char buf[256];
+ char buf[SIZ];
/* set pointer */
serv_puts("SLRP HIGHEST");
*/
void ungoto(void)
{
- char buf[256];
+ char buf[SIZ];
if (!strcmp(WC->ugname, "")) {
smart_goto(WC->wc_roomname);
*/
void display_editroom(void)
{
- char buf[256];
+ char buf[SIZ];
char er_name[20];
char er_password[10];
char er_dirname[15];
*/
void editroom(void)
{
- char buf[256];
+ char buf[SIZ];
char er_name[20];
char er_password[10];
char er_dirname[15];
*/
void display_whok(void)
{
- char buf[256], room[256], username[256];
+ char buf[SIZ], room[SIZ], username[SIZ];
serv_puts("GETR");
serv_gets(buf);
void display_entroom(void)
{
int i;
- char buf[256];
+ char buf[SIZ];
serv_puts("CRE8 0");
serv_gets(buf);
*/
void entroom(void)
{
- char buf[256];
+ char buf[SIZ];
char er_name[20];
char er_type[20];
char er_password[10];
void goto_private(void)
{
char hold_rm[32];
- char buf[256];
+ char buf[SIZ];
if (strcasecmp(bstr("sc"), "OK")) {
display_main_menu();
*/
void zap(void)
{
- char buf[256];
- char final_destination[256];
+ char buf[SIZ];
+ char final_destination[SIZ];
/* If the forget-room routine fails for any reason, we fall back
* to the current room; otherwise, we go to the Lobby
*/
void confirm_delete_room(void)
{
- char buf[256];
+ char buf[SIZ];
serv_puts("KILL 0");
serv_gets(buf);
*/
void delete_room(void)
{
- char buf[256];
- char sc[256];
+ char buf[SIZ];
+ char sc[SIZ];
strcpy(sc, bstr("sc"));