Skip to content

Commit

Permalink
Initialize currentSocket with NULL in PancakeLinuxPoll module
Browse files Browse the repository at this point in the history
  • Loading branch information
pp3345 committed Aug 2, 2015
1 parent ef1e2de commit 351cfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LinuxPoll/PancakeLinuxPoll.c
Expand Up @@ -25,7 +25,7 @@ STATIC inline void PancakeLinuxPollSetSocket(PancakeSocket *socket);

STATIC inline void PancakeLinuxPollOnSocketClose(PancakeSocket *socket);

static PancakeSocket *currentSocket;
static PancakeSocket *currentSocket = NULL;

PancakeModule PancakeLinuxPoll = {
"LinuxPoll",
Expand Down

0 comments on commit 351cfcc

Please sign in to comment.