diff options
-rw-r--r-- | src/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connect.c b/src/connect.c index b39ca3c..b52b566 100644 --- a/src/connect.c +++ b/src/connect.c @@ -530,6 +530,7 @@ ConnectToPeer (char *networkIdsList, char **actualConnectionRet) if ((connect_stat = _IceTransConnect (trans_conn, address)) < 0) { _IceTransClose (trans_conn); + trans_conn = NULL; if (connect_stat == TRANS_TRY_CONNECT_AGAIN) { |