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