Make "Room 1" the default room name.

This commit is contained in:
ehouse 2009-11-09 00:03:43 +00:00
parent aae12428da
commit 4025c37604
2 changed files with 5 additions and 1 deletions

View file

@ -719,8 +719,9 @@ comms_getInitialAddr( CommsAddrRec* addr )
{
char* name = RELAY_NAME_DEFAULT;
XP_MEMCPY( addr->u.ip_relay.hostName, name, XP_STRLEN(name)+1 );
char* room = RELAY_ROOM_DEFAULT;
XP_MEMCPY( addr->u.ip_relay.invite, room, XP_STRLEN(room)+1 );
}
addr->u.ip_relay.invite[0] = '\0';
#elif defined PLATFORM_PALM
/* default values; default is still IR where there's a choice, at least on
Palm... */

View file

@ -168,6 +168,9 @@ typedef struct CommonPrefs {
#ifndef RELAY_NAME_DEFAULT
# define RELAY_NAME_DEFAULT "eehouse.org"
#endif
#ifndef RELAY_ROOM_DEFAULT
# define RELAY_ROOM_DEFAULT "Room 1"
#endif
#ifdef MEM_DEBUG
# define XP_MALLOC(pool,nbytes) \