projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19e6d8
)
Print error string on accept failure.
72/2872/1
author
David Galeano
<davidgaleano@turbulenz.biz>
Thu, 10 Jan 2013 02:42:45 +0000
(10:42 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:23 +0000
(13:01 -0800)
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
c5a6f40
..
84f2aba
100644
(file)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-1544,7
+1544,7
@@
libwebsocket_service_fd(struct libwebsocket_context *context,
accept_fd = accept(pollfd->fd, (struct sockaddr *)&cli_addr,
&clilen);
if (accept_fd < 0) {
- debug("ERROR on accept
\n"
);
+ debug("ERROR on accept
: %d\n", strerror(errno)
);
return -1;
}