Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/patches-2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Nov 1, 2013
2 parents 515ed87 + 3b77d62 commit a60632a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion event_iocp.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ get_extension_function(SOCKET s, const GUID *which_fn)
{0xb5367df2,0xcbac,0x11cf,{0x95,0xca,0x00,0x80,0x5f,0x48,0xa1,0x92}}
#endif

static int extension_fns_initialized = 0;

static void
init_extension_functions(struct win32_extension_fns *ext)
{
Expand All @@ -156,10 +158,11 @@ init_extension_functions(struct win32_extension_fns *ext)
ext->GetAcceptExSockaddrs = get_extension_function(s,
&getacceptexsockaddrs);
closesocket(s);

extension_fns_initialized = 1;
}

static struct win32_extension_fns the_extension_fns;
static int extension_fns_initialized = 0;

const struct win32_extension_fns *
event_get_win32_extension_fns_(void)
Expand Down

0 comments on commit a60632a

Please sign in to comment.