Changeset 599


Ignore:
Timestamp:
Mar 14, 2006, 1:49:01 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Changed port environment variable to "CACA_PORT". No need to mention it's a network port, we could have guessed.
Location:
libcaca/trunk/caca
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r586 r599  
    9494 *      X11 driver, an X11 font name such as "fixed" or "5x7" is expected.
    9595 *
    96  *  \li \b CACA_NETWORK_PORT: set the port the network driver will listen on.
    97  *      Obviously only works when using CACA_DRIVER=network.
    98  *      Default to 7575 (KK in ASCII Dec)
     96 *  \li \b CACA_PORT: set the port the network driver will listen on, when
     97 *      the output driver is "network". Default port is 51914 (0xCACA).
    9998 */
    10099
  • libcaca/trunk/caca/driver_network.c

    r596 r599  
    9999{
    100100    int yes = 1, flags;
    101     int port = 51914;
     101    int port = 0xCACA; /* 51914 */
    102102    char *network_port, *tmp;
    103103
     
    107107
    108108#if defined(HAVE_GETENV)
    109     network_port = getenv("CACA_NETWORK_PORT");
     109    network_port = getenv("CACA_PORT");
    110110    if(network_port && *network_port)
    111111    {
Note: See TracChangeset for help on using the changeset viewer.