mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
minor RTIP adjustments
This commit is contained in:
@@ -7122,7 +7122,7 @@ int UnLockMutex(CyaSSL_Mutex* m)
|
|||||||
return BAD_MUTEX_ERROR;
|
return BAD_MUTEX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
int UnlockMutex(CyaSSL_Mutex* m)
|
int UnLockMutex(CyaSSL_Mutex* m)
|
||||||
{
|
{
|
||||||
rtp_sig_mutex_release(*m);
|
rtp_sig_mutex_release(*m);
|
||||||
return 0;
|
return 0;
|
||||||
|
4
src/io.c
4
src/io.c
@@ -53,7 +53,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#if !(defined(DEVKITPRO) || defined(THREADX)) || defined(EBSNET)
|
#if !(defined(DEVKITPRO) || defined(THREADX) || defined(EBSNET))
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
@@ -120,7 +120,7 @@ static INLINE int LastError(void)
|
|||||||
#ifdef USE_WINDOWS_API
|
#ifdef USE_WINDOWS_API
|
||||||
return WSAGetLastError();
|
return WSAGetLastError();
|
||||||
#elif defined(EBSNET)
|
#elif defined(EBSNET)
|
||||||
return un_getlasterror();
|
return xn_getlasterror();
|
||||||
#else
|
#else
|
||||||
return errno;
|
return errno;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user