summaryrefslogtreecommitdiff
path: root/src/modules/netlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/netlib')
-rw-r--r--src/modules/netlib/netlib.cpp2
-rw-r--r--src/modules/netlib/netlib.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/netlib/netlib.cpp b/src/modules/netlib/netlib.cpp
index b0d228ca09..92d638382d 100644
--- a/src/modules/netlib/netlib.cpp
+++ b/src/modules/netlib/netlib.cpp
@@ -604,7 +604,7 @@ int LoadNetlibModule(void)
case 0x05:
connectionTimeout = 1000;
break;
-
+
default: // all other editions have connection limit of 10 / sec
connectionTimeout = 150;
break;
diff --git a/src/modules/netlib/netlib.h b/src/modules/netlib/netlib.h
index 16e711df05..07316635ac 100644
--- a/src/modules/netlib/netlib.h
+++ b/src/modules/netlib/netlib.h
@@ -208,11 +208,11 @@ HANDLE NetlibInitSecurityProvider(const char* szProvider, const char* szPrincipa
char* NtlmCreateResponseFromChallenge(HANDLE hSecurity, const char *szChallenge, const TCHAR* login, const TCHAR* psw,
bool http, unsigned& complete);
-
static __inline INT_PTR NLSend(struct NetlibConnection *nlc, const char *buf, int len, int flags) {
NETLIBBUFFER nlb = {(char*)buf, len, flags};
return NetlibSend((WPARAM)nlc, (LPARAM)&nlb);
}
+
static __inline INT_PTR NLRecv(struct NetlibConnection *nlc, char *buf, int len, int flags) {
NETLIBBUFFER nlb = {buf, len, flags};
return NetlibRecv((WPARAM)nlc, (LPARAM)&nlb);