minor RTIP adjustments

This commit is contained in:
Chris Conlon
2012-08-14 13:10:27 -06:00
parent 7ec04c16b6
commit 198e48fa94
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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