| 14 | #define RETURN(xxx) { param->res = xxx; goto CLEANRET; } |
| 15 | |
| 16 | void * tcppmchild(struct clientparam* param) { |
| 17 | int res; |
| 18 | |
| 19 | if(!param->hostname)parsehostname((char *)param->srv->target, param, ntohs(param->srv->targetport)); |
| 20 | param->operation = CONNECT; |
| 21 | res = (*param->srv->authfunc)(param); |
| 22 | if(res) {RETURN(res);} |
| 23 | RETURN (sockmap(param, conf.timeouts[CONNECTION_L])); |
| 24 | CLEANRET: |
| 25 | |
| 26 | (*param->srv->logfunc)(param, NULL); |
| 27 | freeparam(param); |
| 28 | return (NULL); |
| 29 | } |
| 30 | |
| 31 | #ifdef WITHMAIN |
| 32 | struct proxydef childdef = { |
nothing calls this directly
no test coverage detected