diff options
Diffstat (limited to 'src/modules/netlib/netlib.h')
-rw-r--r-- | src/modules/netlib/netlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|