Changeset 529 for branches/garlicat/src/ocat.c
- Timestamp:
- 11/15/09 21:02:31 (3 years ago)
- File:
-
- 1 edited
-
branches/garlicat/src/ocat.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/garlicat/src/ocat.c
r528 r529 241 241 init_setup(); 242 242 243 if (argc < 2)244 usage(argv[0]), exit(1);245 246 243 while ((c = getopt(argc, argv, "abBCd:f:hrRiIopl:t:T:s:u:4L:P:")) != -1) 247 244 switch (c) … … 352 349 snprintf(def, 100, "127.0.0.1:%d", NDESC(listen_port)); 353 350 post_init_setup(); 351 352 // usage output must be after mode detection (Tor/I2P) 353 if (argc < 2) 354 usage(argv[0]), exit(1); 354 355 355 356 if (!CNF(rand_addr) && !argv[optind]) … … 413 414 414 415 log_msg(LOG_INFO, "%s", CNF(version)); 415 log_msg(LOG_INFO, "OC is running in %s mode", CNF(net_type) == NTYPE_I2P ? "GarliCat (I2P)" : "OnionCat (Tor)");416 416 417 417 #if 0
Note: See TracChangeset
for help on using the changeset viewer.
