zts_get_pico_socket needs to pass indirect pointer

This commit is contained in:
Garrett D'Amore
2017-07-25 10:43:47 -07:00
parent bb60904899
commit 1d21bc4145
2 changed files with 6 additions and 6 deletions

View File

@@ -413,7 +413,7 @@ namespace ZeroTier
/*
* Gets a pointer to a pico_socket given a file descriptor
*/
int zts_get_pico_socket(int fd, struct pico_socket *s);
int zts_get_pico_socket(int fd, struct pico_socket **s);
/**
* Returns the number of sockets either already provisioned or waiting to be