diff options
| author | Anton <anton@picapica> | 2016-09-23 03:26:50 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-09-23 03:26:50 +0400 |
| commit | 87ea77f029133fcd6b6614bfce50c59ae9988f21 (patch) | |
| tree | fee37adbd070836b0fdcdc2fba00721f14830ab1 /pica-client | |
| parent | 5b9226164a3237f90823eff57c65f4fcd33f02be (diff) | |
| download | pica-pica-87ea77f029133fcd6b6614bfce50c59ae9988f21.tar.gz pica-pica-87ea77f029133fcd6b6614bfce50c59ae9988f21.zip | |
moved direct c2c initialization into PICA_new_c2n() by adding new arguments, removed PICA_configure_directc2c()
Diffstat (limited to 'pica-client')
| -rw-r--r-- | pica-client/skynet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pica-client/skynet.cpp b/pica-client/skynet.cpp index 399b39e..acb0fef 100644 --- a/pica-client/skynet.cpp +++ b/pica-client/skynet.cpp @@ -342,7 +342,8 @@ void SkyNet::Join(Accounts::AccountRecord &accrec) int ret; struct PICA_c2n *c2n = NULL; - ret = PICA_new_c2n(acc, noderecords[i].address.toUtf8().constData(), noderecords[i].port, &c2n); + ret = PICA_new_c2n(acc, noderecords[i].address.toUtf8().constData(), noderecords[i].port, + PICA_DIRECTC2C_CFG_DISABLED, NULL, &c2n); if (ret == PICA_OK) { |
