mirror of
				https://github.com/lunarmodules/luasocket.git
				synced 2025-10-31 02:15:38 +01:00 
			
		
		
		
	| @@ -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; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user