aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2017-05-15 15:29:49 -0300
committerGitHub <noreply@github.com>2017-05-15 15:29:49 -0300
commit5a17f79b0301f0a1b4c7f1c73388757a7e2ed309 (patch)
treed78d5071c2974f563dbf19181450267d38e137a9
parentff1a447b4d8a635b7e15f11c00de34501c8672b2 (diff)
parentaef7bcf2882263d4b56dd3f6ed4707193719f3d8 (diff)
downloadluasocket-5a17f79b0301f0a1b4c7f1c73388757a7e2ed309.tar.gz
luasocket-5a17f79b0301f0a1b4c7f1c73388757a7e2ed309.tar.bz2
luasocket-5a17f79b0301f0a1b4c7f1c73388757a7e2ed309.zip
Merge pull request #213 from elliptica/master
Fix typo
-rw-r--r--src/usocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usocket.c b/src/usocket.c
index 8adc573..6e7f8f6 100644
--- a/src/usocket.c
+++ b/src/usocket.c
@@ -76,7 +76,7 @@ int socket_waitfd(p_socket ps, int sw, p_timeout tm) {
76* Initializes module 76* Initializes module
77\*-------------------------------------------------------------------------*/ 77\*-------------------------------------------------------------------------*/
78int socket_open(void) { 78int socket_open(void) {
79 /* instals a handler to ignore sigpipe or it will crash us */ 79 /* installs a handler to ignore sigpipe or it will crash us */
80 signal(SIGPIPE, SIG_IGN); 80 signal(SIGPIPE, SIG_IGN);
81 return 1; 81 return 1;
82} 82}