Compare commits

..

No commits in common. "982536b389da96ea9c7fe802203330a097800112" and "e3ef7bb54ad34f5178115af5a7c8d3532b2e76bf" have entirely different histories.

3 changed files with 1 additions and 6 deletions

View File

@ -419,9 +419,7 @@ void releaseparam(struct clientparam * param) {
if(param->filters[param->nfilters].filter->filter_clear)
(*param->filters[param->nfilters].filter->filter_clear)(param->filters[param->nfilters].data);
}
/* once: a second release must not give the slot back again */
if(param->connlim) stopconnlims(param);
param->connlim = 0;
/* a slot held in the newest service on the listener after a reload */
if(param->newsrv){
slotrelease(param->newsrv);

View File

@ -433,9 +433,7 @@ static void udpadopt(struct udpstate *st){
if(param->filters[param->nfilters].filter->filter_clear)
(*param->filters[param->nfilters].filter->filter_clear)(param->filters[param->nfilters].data);
}
/* counted again by the new service's authorization */
if(param->connlim) stopconnlims(param);
param->connlim = 0;
param->bandlimfunc = NULL;
param->bandlims[0] = param->bandlimsout[0] = NULL;
param->trafcountfunc = NULL;

View File

@ -182,8 +182,7 @@ size_t threadstacksize(int extra);
#ifndef strncasecmp
#define strncasecmp strnicmp
#endif
/* errno is WSAGetLastError() here */
#define seterrno3(x) WSASetLastError(x)
#define seterrno3(x) _set_errno(x)
#else
#define seterrno3(x) (errno = x)
#endif