mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-02-06 03:52:49 +01:00
commit
5a17f79b03
@ -76,7 +76,7 @@ int socket_waitfd(p_socket ps, int sw, p_timeout tm) {
|
|||||||
* Initializes module
|
* Initializes module
|
||||||
\*-------------------------------------------------------------------------*/
|
\*-------------------------------------------------------------------------*/
|
||||||
int socket_open(void) {
|
int socket_open(void) {
|
||||||
/* instals a handler to ignore sigpipe or it will crash us */
|
/* installs a handler to ignore sigpipe or it will crash us */
|
||||||
signal(SIGPIPE, SIG_IGN);
|
signal(SIGPIPE, SIG_IGN);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user