Changeset 529 for branches/garlicat/src/ocatsetup.c
- Timestamp:
- 11/15/09 21:02:31 (3 years ago)
- File:
-
- 1 edited
-
branches/garlicat/src/ocatsetup.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/garlicat/src/ocatsetup.c
r528 r529 131 131 //setup_.logf = stderr; 132 132 setup_.uptime = time(NULL); 133 134 #ifdef DEBUG135 snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s -- compiled %s %s", PACKAGE_STRING, OCAT_AUTHOR, __DATE__, __TIME__);136 #else137 snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s", PACKAGE_STRING, OCAT_AUTHOR);138 #endif139 133 } 140 134 … … 166 160 #ifdef HAVE_SIN_LEN 167 161 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__); 168 167 #endif 169 168 }
Note: See TracChangeset
for help on using the changeset viewer.
