diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 37d55a5b0..956da15b5 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -2144,7 +2144,10 @@ GCC_handle_confirm (struct CadetPeer *peer, | |||
2144 | 2144 | ||
2145 | /* If just created, cancel the short timeout and start a long one */ | 2145 | /* If just created, cancel the short timeout and start a long one */ |
2146 | if (CADET_CONNECTION_SENT == oldstate) | 2146 | if (CADET_CONNECTION_SENT == oldstate) |
2147 | { | ||
2148 | c->create_retry = 1; | ||
2147 | connection_reset_timeout (c, GNUNET_YES); | 2149 | connection_reset_timeout (c, GNUNET_YES); |
2150 | } | ||
2148 | 2151 | ||
2149 | /* Change connection state, send ACK */ | 2152 | /* Change connection state, send ACK */ |
2150 | connection_change_state (c, CADET_CONNECTION_READY); | 2153 | connection_change_state (c, CADET_CONNECTION_READY); |