Changeset 7865 for lang/c

Show
Ignore:
Timestamp:
03/12/08 22:56:55 (7 years ago)
Author:
frsyuki
Message:

lang/c/partty: changed default banner message

Location:
lang/c/partty/trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/c/partty/trunk/src/partty.h

    r7761 r7865  
    4242#ifndef PARTTY_GATE_SESSION_BANNER 
    4343#define PARTTY_GATE_SESSION_BANNER \ 
    44         "Welcome to Partty hogehoge!\r\n\r\nSession name: " 
     44        "Welcome to Partty!\r\n\r\nSession name: " 
    4545#endif 
    4646 
     
    8181 
    8282 
    83 static const unsigned short SERVER_DEFAULT_PORT   = 2750; 
    84 static const unsigned short GATE_DEFAULT_PORT     = 7777; 
     83static const unsigned short SERVER_DEFAULT_PORT = 2750; 
     84static const unsigned short GATE_DEFAULT_PORT   = 7777; 
    8585 
    8686static const size_t MAX_SESSION_NAME_LENGTH = 256; 
    8787static const size_t MIN_SESSION_NAME_LENGTH = 3; 
    8888static const size_t MAX_PASSWORD_LENGTH     = 128; 
    89 static const size_t MAX_MESSAGE_LENGTH    = 128; 
     89static const size_t MAX_MESSAGE_LENGTH      = 128; 
    9090 
    9191 
  • lang/c/partty/trunk/src/uniext.cc

    r7761 r7865  
    5656 
    5757        for(char* p = &static_argv[0][strlen(static_argv[0])]; p < argv_end; ++p) { 
    58                 *p = NULL; 
     58                *p = 0; 
    5959        } 
    6060}