mirror of
https://github.com/3proxy/3proxy.git
synced 2026-05-13 13:30:12 +08:00
Fix: crash on standalone services
This commit is contained in:
parent
da8a8615f4
commit
5f06879843
@ -517,11 +517,6 @@ struct srvparam {
|
|||||||
AUTHFUNC authfunc;
|
AUTHFUNC authfunc;
|
||||||
PROXYFUNC pf;
|
PROXYFUNC pf;
|
||||||
SOCKET srvsock, cbsock;
|
SOCKET srvsock, cbsock;
|
||||||
#ifndef NOUDPMAIN
|
|
||||||
unsigned char udpbuf[UDPBUFSIZE];
|
|
||||||
unsigned char udpbuf2[UDPBUFSIZE];
|
|
||||||
int udplen;
|
|
||||||
#endif
|
|
||||||
int childcount;
|
int childcount;
|
||||||
int maxchild;
|
int maxchild;
|
||||||
int backlog;
|
int backlog;
|
||||||
@ -573,6 +568,11 @@ struct srvparam {
|
|||||||
uint16_t targetport;
|
uint16_t targetport;
|
||||||
unsigned char replace;
|
unsigned char replace;
|
||||||
time_t time_start;
|
time_t time_start;
|
||||||
|
#ifndef NOUDPMAIN
|
||||||
|
unsigned char udpbuf[UDPBUFSIZE];
|
||||||
|
unsigned char udpbuf2[UDPBUFSIZE];
|
||||||
|
int udplen;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
struct clientparam {
|
struct clientparam {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user