ObjFW  Check-in [9394805757]

Overview
Comment:socket.m: Remove leftover from port registry
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9394805757bec74cbe96184b4ce1b6a3e9bbc917f734302cfb846acc8a26c41c
User & Date: js on 2016-03-28 19:50:02
Other Links: manifest | tags
Context
2016-03-28
20:14
threading_winapi.m: Cosmetic change check-in: 386962cb17 user: js tags: trunk
19:50
socket.m: Remove leftover from port registry check-in: 9394805757 user: js tags: trunk
19:33
URL encoding: Make sure an unsigned shift is used check-in: 179c625d15 user: js tags: trunk
Changes

Modified src/socket.m from [1832892042] to [46181077da].

39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

#ifdef OF_HAVE_THREADS
static of_once_t onceControl = OF_ONCE_INIT;
static of_mutex_t mutex;
#endif
static bool initialized = false;

#ifdef OF_WII
# ifdef OF_HAVE_THREADS
static of_spinlock_t spinlock;
# endif
static uint8_t portRegistry[2][65536 / 8];
#endif

static void
init(void)
{
#if defined(OF_WINDOWS)
	WSADATA wsa;

	if (WSAStartup(MAKEWORD(2, 0), &wsa))







<
<
<
<
<
<
<







39
40
41
42
43
44
45







46
47
48
49
50
51
52

#ifdef OF_HAVE_THREADS
static of_once_t onceControl = OF_ONCE_INIT;
static of_mutex_t mutex;
#endif
static bool initialized = false;








static void
init(void)
{
#if defined(OF_WINDOWS)
	WSADATA wsa;

	if (WSAStartup(MAKEWORD(2, 0), &wsa))