diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-15 20:31:29 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-15 20:31:29 +0100 |
commit | 33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5 (patch) | |
tree | fd5c6db79b873e758566f31c11fe0f3e779c018e | |
parent | added logging envvar TRAVNIK_DEBUG TRAVNIK_EXPECTED (diff) | |
download | travnik-33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5.tar travnik-33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5.tar.gz travnik-33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5.tar.bz2 travnik-33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5.tar.lz travnik-33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5.tar.xz travnik-33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5.tar.zst travnik-33b68041fb6b0364748d25c2d3b2c50a6cfbbbf5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ int main (int argc, char ** argv) { dht->pollfds = &pollfds; dht->pollfds_size = &pollfds_size; dht->nfds = &nfds; - dht->verbosity |= (getenv("TRAVNIK_INCOMING_DHT") ? incoming_dht : 0) | (getenv("TRAVNIK_OUTGOING_DHT") ? outgoing_dht : 0) | expected | (getenv("TRAVNIK_DEBUG") ? debug : 0) | (getenv("TRAVNIK_EXŠECTED") ? expected : 0); + dht->verbosity |= (getenv("TRAVNIK_INCOMING_DHT") ? incoming_dht : 0) | (getenv("TRAVNIK_OUTGOING_DHT") ? outgoing_dht : 0) | (getenv("TRAVNIK_DEBUG") ? debug : 0) | (getenv("TRAVNIK_EXŠECTED") ? expected : 0); dht->torrents_max = K; dht->peers_per_torrent_max = K; struct torrent * torrent = torrent_init(); |