Browse Source

Correct returning 98 code from socksmap

z3APA3A 5 years ago
parent
commit
7f0797178b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/sockmap.c

+ 2 - 2
src/sockmap.c

@@ -653,8 +653,8 @@ log("timeout");
 
  }
  res = 0;
- if(!fromserver) res = 98;
- else if(!fromclient) res = 99;
+ if(!fromserver && param->waitserver64) res = 98;
+ else if(!fromclient && param->waitclient64) res = 99;
  else if((inclientbuf || inserverbuf)) res = HASERROR?93:94;
 #ifdef WITHSPLICE
  else if(inclientpipe || inserverpipe) res = HASERROR?93:94;