diff options
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 6dbabb5ab..da0d6e20d 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -1583,6 +1583,11 @@ connection_reset_timeout (struct CadetConnection *c, int fwd) | |||
1583 | if (GCC_is_origin (c, fwd)) /* Startpoint */ | 1583 | if (GCC_is_origin (c, fwd)) /* Startpoint */ |
1584 | { | 1584 | { |
1585 | schedule_next_keepalive (c, fwd); | 1585 | schedule_next_keepalive (c, fwd); |
1586 | if (NULL != c->maintenance_q) | ||
1587 | { | ||
1588 | GCP_send_cancel (c->maintenance_q); | ||
1589 | c->maintenance_q = NULL; /* Is set to NULL by conn_message_sent anyway */ | ||
1590 | } | ||
1586 | } | 1591 | } |
1587 | else /* Relay, endpoint. */ | 1592 | else /* Relay, endpoint. */ |
1588 | { | 1593 | { |