aboutsummaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-04 19:38:38 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-04 19:38:38 +0100
commit3039adb9578b01b3649c5c8ae5f4d6d8f8a7d51d (patch)
tree3e2db2300f3f613115c8c346e9503c6c28bedf8d /src/util/client.c
parent1ca80565458244e9a9622d65bd3953fa3478372a (diff)
downloadgnunet-3039adb9578b01b3649c5c8ae5f4d6d8f8a7d51d.tar.gz
gnunet-3039adb9578b01b3649c5c8ae5f4d6d8f8a7d51d.zip
fix task prioritization with recent hack
Diffstat (limited to 'src/util/client.c')
-rw-r--r--src/util/client.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/util/client.c b/src/util/client.c
index 93442f0c6..a7b1a2a0f 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -271,14 +271,11 @@ RETRY:
271 &pos[cstate->msg_off], 271 &pos[cstate->msg_off],
272 len - cstate->msg_off); 272 len - cstate->msg_off);
273 if ( (-1 == ret) && 273 if ( (-1 == ret) &&
274 (EAGAIN == errno) ) 274 ( (EAGAIN == errno) ||
275 (EINTR == errno) ) )
275 { 276 {
276 cstate->send_task 277 /* ignore */
277 = GNUNET_SCHEDULER_add_write_net (GNUNET_TIME_UNIT_FOREVER_REL, 278 ret = 0;
278 cstate->sock,
279 &transmit_ready,
280 cstate);
281 return;
282 } 279 }
283 if (-1 == ret) 280 if (-1 == ret)
284 { 281 {