Ignore:
Timestamp:
11/15/09 21:02:31 (3 years ago)
Author:
eagle
Message:

manpage updated, Makefile changed to create 'gcat' symlink

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/garlicat/src/ocatsetup.c

    r528 r529  
    131131   //setup_.logf = stderr; 
    132132   setup_.uptime = time(NULL); 
    133  
    134 #ifdef DEBUG 
    135    snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s -- compiled %s %s", PACKAGE_STRING, OCAT_AUTHOR, __DATE__, __TIME__); 
    136 #else 
    137    snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s", PACKAGE_STRING, OCAT_AUTHOR); 
    138 #endif 
    139133} 
    140134 
     
    166160#ifdef HAVE_SIN_LEN 
    167161   ctrl_listen6_.sin6_len = sizeof(ctrl_listen6_); 
     162#endif 
     163 
     164   snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s (%s mode)", PACKAGE_STRING, OCAT_AUTHOR, setup_.net_type == NTYPE_TOR ? "OnionCat" : setup_.net_type == NTYPE_I2P ? "GarliCat" : "unknown"); 
     165#ifdef DEBUG 
     166   snprintf(&setup_.version[strlen(setup_.version)], VERSION_STRING_LEN - strlen(setup_.version), " -- compiled %s %s", __DATE__, __TIME__); 
    168167#endif 
    169168} 
Note: See TracChangeset for help on using the changeset viewer.