summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-10-04 10:33:59 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-10-04 10:33:59 +0000
commit8dc3d7d5b5d1f6f66b01899f3cfb3751e10defa7 (patch)
treed2a4d2d3a88992a724d847a337868d95077cf056
parentaaa2156cbd5491daaaf59495f2ca131ec3ad5beb (diff)
finally fix annoying pulse mixer magic failure
SVN revision: 77424
-rw-r--r--msg.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/msg.c b/msg.c
index f9c15d0..0750905 100644
--- a/msg.c
+++ b/msg.c
@@ -125,7 +125,12 @@ msg_sendmsg_creds(Pulse *conn, Pulse_Tag *tag)
125 if ((!r) || (r == (int)sizeof(tag->header))) tag->auth = EINA_TRUE; 125 if ((!r) || (r == (int)sizeof(tag->header))) tag->auth = EINA_TRUE;
126 else if (r < 0) 126 else if (r < 0)
127 { 127 {
128 if (errno != EAGAIN) ecore_main_fd_handler_del(conn->fdh); 128 if (errno != EAGAIN)
129 {
130 ERR("%d: %s", errno, strerror(errno));
131 ecore_main_fd_handler_del(conn->fdh);
132 conn->fdh = NULL;
133 }
129 } 134 }
130 else 135 else
131 tag->pos += r; 136 tag->pos += r;