diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-22 20:58:41 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-22 20:58:41 +0100 |
commit | 964c35548954ae5af96150ed674d3f853bd5c2be (patch) | |
tree | 0afe15801d5b7ca31f7281b9dfa6ff705e0993ca /src/util | |
parent | 88a0df3dcc38c6e82f483bff386c87d8e1ec4459 (diff) | |
download | gnunet-964c35548954ae5af96150ed674d3f853bd5c2be.tar.gz gnunet-964c35548954ae5af96150ed674d3f853bd5c2be.zip |
fix compile errors
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/service_new.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/service_new.c b/src/util/service_new.c index ded53917a..731be2cfe 100644 --- a/src/util/service_new.c +++ b/src/util/service_new.c | |||
@@ -1969,6 +1969,7 @@ do_send (void *cls) | |||
1969 | client->msg_pos += ret; | 1969 | client->msg_pos += ret; |
1970 | if (left > ret) | 1970 | if (left > ret) |
1971 | { | 1971 | { |
1972 | GNUNET_assert (NULL == client->drop_task); | ||
1972 | client->send_task | 1973 | client->send_task |
1973 | = GNUNET_SCHEDULER_add_write_net (GNUNET_TIME_UNIT_FOREVER_REL, | 1974 | = GNUNET_SCHEDULER_add_write_net (GNUNET_TIME_UNIT_FOREVER_REL, |
1974 | client->sock, | 1975 | client->sock, |
@@ -1996,6 +1997,7 @@ service_mq_send (struct GNUNET_MQ_Handle *mq, | |||
1996 | struct GNUNET_SERVICE_Client *client = impl_state; | 1997 | struct GNUNET_SERVICE_Client *client = impl_state; |
1997 | 1998 | ||
1998 | GNUNET_assert (NULL == client->send_task); | 1999 | GNUNET_assert (NULL == client->send_task); |
2000 | GNUNET_assert (NULL == client->drop_task); | ||
1999 | client->msg = msg; | 2001 | client->msg = msg; |
2000 | client->msg_pos = 0; | 2002 | client->msg_pos = 0; |
2001 | client->send_task | 2003 | client->send_task |