Le bon code

This commit is contained in:
Quentin 2021-01-25 18:00:19 +01:00
parent b6806395ad
commit 1efc14eecd
2 changed files with 2 additions and 0 deletions

View file

@ -486,6 +486,7 @@ int main(int argc, char** argv) {
struct evt_core_ctx evts = {0};
struct tor_os_str tos = {0};
struct tor_ctl tctl = {0};
tctl.os_endpoint = "127.0.0.1";
// 1. Parse parameters
while ((opt = getopt(argc, argv, "vq:h:p:c:s:i:t:ln")) != -1) {

View file

@ -97,6 +97,7 @@ int main(int argc, char** argv) {
uint16_t port = 7500;
struct tor_os_str tos;
struct tor_ctl tctl;
tctl.os_endpoint = "127.0.0.1";
enum TOR_ONION_FLAGS tof = TOR_ONION_FLAG_NONE;
char url[1024];
struct torecho_ctx tctx = {0};