Le bon code
This commit is contained in:
parent
b6806395ad
commit
1efc14eecd
2 changed files with 2 additions and 0 deletions
|
@ -486,6 +486,7 @@ int main(int argc, char** argv) {
|
||||||
struct evt_core_ctx evts = {0};
|
struct evt_core_ctx evts = {0};
|
||||||
struct tor_os_str tos = {0};
|
struct tor_os_str tos = {0};
|
||||||
struct tor_ctl tctl = {0};
|
struct tor_ctl tctl = {0};
|
||||||
|
tctl.os_endpoint = "127.0.0.1";
|
||||||
|
|
||||||
// 1. Parse parameters
|
// 1. Parse parameters
|
||||||
while ((opt = getopt(argc, argv, "vq:h:p:c:s:i:t:ln")) != -1) {
|
while ((opt = getopt(argc, argv, "vq:h:p:c:s:i:t:ln")) != -1) {
|
||||||
|
|
|
@ -97,6 +97,7 @@ int main(int argc, char** argv) {
|
||||||
uint16_t port = 7500;
|
uint16_t port = 7500;
|
||||||
struct tor_os_str tos;
|
struct tor_os_str tos;
|
||||||
struct tor_ctl tctl;
|
struct tor_ctl tctl;
|
||||||
|
tctl.os_endpoint = "127.0.0.1";
|
||||||
enum TOR_ONION_FLAGS tof = TOR_ONION_FLAG_NONE;
|
enum TOR_ONION_FLAGS tof = TOR_ONION_FLAG_NONE;
|
||||||
char url[1024];
|
char url[1024];
|
||||||
struct torecho_ctx tctx = {0};
|
struct torecho_ctx tctx = {0};
|
||||||
|
|
Loading…
Reference in a new issue