Commit b6854b15 authored by Cedric Roux's avatar Cedric Roux

cleanup

parent 6b9db378
......@@ -95,22 +95,11 @@ static void *forward_s_to_sc(void *_f)
return NULL;
}
static void *forward_sc_to_s(void *_f)
{
#if 0
forward_data *f = _f;
do_forward(f, f->sc, f->s, 1);
printf("INFO: forwarder exits\n");
#endif
return NULL;
}
void forward_start_client(void *_f, int s)
{
forward_data *f = _f;
f->sc = s;
new_thread(forward_s_to_sc, f);
new_thread(forward_sc_to_s, f);
}
void *forwarder(char *ip, int port)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment