summaryrefslogtreecommitdiffstats
path: root/PICA_client.c
diff options
context:
space:
mode:
authorAnton <anton@picapica>2016-12-05 19:46:59 +0400
committerAnton <anton@picapica>2016-12-05 19:46:59 +0400
commiteb132677fd65a57582cb920caed15dd9fa310888 (patch)
treee8d3872688a3c2eac0c513a76f11fa915448776c /PICA_client.c
parent660205d022eb3b9a48b613035ad4fcd0663c98ff (diff)
downloadpica-pica-eb132677fd65a57582cb920caed15dd9fa310888.tar.gz
pica-pica-eb132677fd65a57582cb920caed15dd9fa310888.zip
new direct c2c state that is set when outgoing connections to all direct addresses provided by peer have failed
Diffstat (limited to 'PICA_client.c')
-rw-r--r--PICA_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PICA_client.c b/PICA_client.c
index aa0ad95..af6718e 100644
--- a/PICA_client.c
+++ b/PICA_client.c
@@ -588,7 +588,7 @@ static unsigned int procmsg_PICA_PROTO_DIRECTC2C_ADDRLIST(unsigned char* buf, un
if (ret == PICA_ERRNOTFOUND)
{
- cc->directc2c_state = PICA_DIRECTC2C_STATE_INACTIVE;
+ cc->directc2c_state = PICA_DIRECTC2C_STATE_FAILEDTOCONNECT;
}
}