mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix for older Windows (7 and below) / VC
This commit is contained in:
1 parent
e6c3427cab
commit
6b61cfde4c
4 files changed
+8
-7
No files matched your search
+1
-1
@@ -823,7 +823,7 @@ int doauth(struct clientparam * param){
|
||||
(res = (*authfuncs->authorize)(param)))
|
||||
return res;
|
||||
if(conf.authcachetype && authfuncs->authenticate && authfuncs->authenticate != cacheauth && param->username && (!(conf.authcachetype&4) || (!param->pwtype && param->password))){
|
||||
struct authcache ac={};
|
||||
struct authcache ac={.username=""};
|
||||
|
||||
if(param->username) strncpy((char *)ac.username, (char *)param->username, 64);
|
||||
if(*SAFAMILY(¶m->sincr) == AF_INET
|
||||
|
||||
Reference in new issue
Block a user