projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652b652
)
adjust loglevel in case of failing to get/set the FD Flags
author
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 5 May 2012 15:13:46 +0000
(17:13 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 5 May 2012 15:13:46 +0000
(17:13 +0200)
citadel/event_client.c
patch
|
blob
|
history
diff --git
a/citadel/event_client.c
b/citadel/event_client.c
index 697fd7bcd87a0e171e54fd24090a11b82e2a9a5d..822c42ba532a9d35212291f41c1e683585b6f8f1 100644
(file)
--- a/
citadel/event_client.c
+++ b/
citadel/event_client.c
@@
-779,7
+779,7
@@
eNextState EvConnectSock(AsyncIO *IO,
}
fdflags = fcntl(IO->SendBuf.fd, F_GETFL);
if (fdflags < 0) {
- EV_syslog(LOG_
DEBUG
,
+ EV_syslog(LOG_
ERR
,
"EVENT: unable to get socket flags! %s \n",
strerror(errno));
StrBufPrintf(IO->ErrMsg,
@@
-792,7
+792,7
@@
eNextState EvConnectSock(AsyncIO *IO,
fdflags = fdflags | O_NONBLOCK;
if (fcntl(IO->SendBuf.fd, F_SETFL, fdflags) < 0) {
EV_syslog(
- LOG_
DEBUG
,
+ LOG_
ERR
,
"EVENT: unable to set socket nonblocking flags! %s \n",
strerror(errno));
StrBufPrintf(IO->ErrMsg,