projects
/
hopm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de3590
)
- irc.c:irc_send(): improved error reporting if send() fails
author
michael
<michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 1 Jan 2015 13:46:08 +0000
(13:46 +0000)
committer
michael
<michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 1 Jan 2015 13:46:08 +0000
(13:46 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5253
82007160
-df01-0410-b94d-
b575c5fd34c7
src/irc.c
patch
|
blob
|
history
diff --git
a/src/irc.c
b/src/irc.c
index 9d0f3cfc396fc9989c6a606f51ea0f8d757e5d27..04e32ba7833c79cd2392443696c0c63e787ec343 100644
(file)
--- a/
src/irc.c
+++ b/
src/irc.c
@@
-277,7
+277,7
@@
irc_send(const char *data, ...)
if (send(IRC_FD, buf, len, 0) == -1)
{
/* Return of -1 indicates error sending data; we reconnect. */
- log_printf("IRC -> Error sending data to server
\n"
);
+ log_printf("IRC -> Error sending data to server
: %s", strerror(errno)
);
irc_reconnect();
}
}