From: Bart Polot Date: Wed, 30 Mar 2016 09:17:54 +0000 (+0000) Subject: - use proper setter method X-Git-Tag: initial-import-from-subversion-38251~988 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=03bac82f91ddb103b29804503b2d931d0e4d1fab;p=oweals%2Fgnunet.git - use proper setter method --- diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 12c1f55a2..54b7561ed 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c @@ -2321,7 +2321,7 @@ GCC_handle_broken (void* cls, path_invalidate (c->path); GCP_notify_broken_link (endpoint, &msg->peer1, &msg->peer2); - c->state = CADET_CONNECTION_BROKEN; + connection_change_state (c, CADET_CONNECTION_BROKEN); GCT_remove_connection (t, c); c->t = NULL;