summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-21 06:37:06 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-21 06:37:06 +0000
commit15113f192d8c596a1e377aa825ce3fd561860d75 (patch)
tree5b9786057edb43d99e9a3f39a9bde98a6875eb38 /src/modules
parent49cef0d9fce641946186a62ee9fb90ece77ea941 (diff)
some langpack fixes
code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@2776 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-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);