Skip to content

Commit a071c1c

Browse files
committed
remove peer on complete conversation
1 parent 1514995 commit a071c1c

File tree

5 files changed

+209
-1
lines changed

5 files changed

+209
-1
lines changed

dcc_client/dcc_client/P2PClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ void P2P::SenderThread()
852852
//otherAddrStr = "\0";
853853
reqDat = -1;
854854
role = -1;
855+
otherAddrStr = "";
855856
break;
856857
}
857858

dcc_client/out-linux/_deps/curl-build/libcurl-target.cmake

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,213 @@ unset(_cmake_targets_not_defined)
14951495
unset(_cmake_expected_targets)
14961496

14971497

1498+
# Create imported target CURL::libcurl
1499+
add_library(CURL::libcurl SHARED IMPORTED)
1500+
1501+
set_target_properties(CURL::libcurl PROPERTIES
1502+
INTERFACE_INCLUDE_DIRECTORIES "/home/sam/Code/Distributed-Compute-Coin/dcc_client/out-linux/_deps/curl-src/include"
1503+
INTERFACE_LINK_LIBRARIES "dl;OpenSSL::SSL;OpenSSL::Crypto;ZLIB::ZLIB"
1504+
)
1505+
1506+
# Import target "CURL::libcurl" for configuration "Release"
1507+
set_property(TARGET CURL::libcurl APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
1508+
set_target_properties(CURL::libcurl PROPERTIES
1509+
IMPORTED_LOCATION_RELEASE "/home/sam/Code/Distributed-Compute-Coin/dcc_client/out-linux/_deps/curl-build/lib/libcurl.so"
1510+
IMPORTED_SONAME_RELEASE "libcurl.so"
1511+
)
1512+
1513+
# This file does not depend on other imported targets which have
1514+
# been exported from the same project but in a separate export set.
1515+
1516+
# Commands beyond this point should not need to know the version.
1517+
set(CMAKE_IMPORT_FILE_VERSION)
1518+
cmake_policy(POP)
1519+
# Generated by CMake
1520+
1521+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
1522+
message(FATAL_ERROR "CMake >= 2.8.0 required")
1523+
endif()
1524+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
1525+
message(FATAL_ERROR "CMake >= 2.8.3 required")
1526+
endif()
1527+
cmake_policy(PUSH)
1528+
cmake_policy(VERSION 2.8.3...3.23)
1529+
#----------------------------------------------------------------
1530+
# Generated CMake target import file.
1531+
#----------------------------------------------------------------
1532+
1533+
# Commands may need to know the format version.
1534+
set(CMAKE_IMPORT_FILE_VERSION 1)
1535+
1536+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
1537+
set(_cmake_targets_defined "")
1538+
set(_cmake_targets_not_defined "")
1539+
set(_cmake_expected_targets "")
1540+
foreach(_cmake_expected_target IN ITEMS CURL::libcurl)
1541+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
1542+
if(TARGET "${_cmake_expected_target}")
1543+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
1544+
else()
1545+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
1546+
endif()
1547+
endforeach()
1548+
unset(_cmake_expected_target)
1549+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
1550+
unset(_cmake_targets_defined)
1551+
unset(_cmake_targets_not_defined)
1552+
unset(_cmake_expected_targets)
1553+
unset(CMAKE_IMPORT_FILE_VERSION)
1554+
cmake_policy(POP)
1555+
return()
1556+
endif()
1557+
if(NOT _cmake_targets_defined STREQUAL "")
1558+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
1559+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
1560+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
1561+
endif()
1562+
unset(_cmake_targets_defined)
1563+
unset(_cmake_targets_not_defined)
1564+
unset(_cmake_expected_targets)
1565+
1566+
1567+
# Create imported target CURL::libcurl
1568+
add_library(CURL::libcurl SHARED IMPORTED)
1569+
1570+
set_target_properties(CURL::libcurl PROPERTIES
1571+
INTERFACE_INCLUDE_DIRECTORIES "/home/sam/Code/Distributed-Compute-Coin/dcc_client/out-linux/_deps/curl-src/include"
1572+
INTERFACE_LINK_LIBRARIES "dl;OpenSSL::SSL;OpenSSL::Crypto;ZLIB::ZLIB"
1573+
)
1574+
1575+
# Import target "CURL::libcurl" for configuration "Release"
1576+
set_property(TARGET CURL::libcurl APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
1577+
set_target_properties(CURL::libcurl PROPERTIES
1578+
IMPORTED_LOCATION_RELEASE "/home/sam/Code/Distributed-Compute-Coin/dcc_client/out-linux/_deps/curl-build/lib/libcurl.so"
1579+
IMPORTED_SONAME_RELEASE "libcurl.so"
1580+
)
1581+
1582+
# This file does not depend on other imported targets which have
1583+
# been exported from the same project but in a separate export set.
1584+
1585+
# Commands beyond this point should not need to know the version.
1586+
set(CMAKE_IMPORT_FILE_VERSION)
1587+
cmake_policy(POP)
1588+
# Generated by CMake
1589+
1590+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
1591+
message(FATAL_ERROR "CMake >= 2.8.0 required")
1592+
endif()
1593+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
1594+
message(FATAL_ERROR "CMake >= 2.8.3 required")
1595+
endif()
1596+
cmake_policy(PUSH)
1597+
cmake_policy(VERSION 2.8.3...3.23)
1598+
#----------------------------------------------------------------
1599+
# Generated CMake target import file.
1600+
#----------------------------------------------------------------
1601+
1602+
# Commands may need to know the format version.
1603+
set(CMAKE_IMPORT_FILE_VERSION 1)
1604+
1605+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
1606+
set(_cmake_targets_defined "")
1607+
set(_cmake_targets_not_defined "")
1608+
set(_cmake_expected_targets "")
1609+
foreach(_cmake_expected_target IN ITEMS CURL::libcurl)
1610+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
1611+
if(TARGET "${_cmake_expected_target}")
1612+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
1613+
else()
1614+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
1615+
endif()
1616+
endforeach()
1617+
unset(_cmake_expected_target)
1618+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
1619+
unset(_cmake_targets_defined)
1620+
unset(_cmake_targets_not_defined)
1621+
unset(_cmake_expected_targets)
1622+
unset(CMAKE_IMPORT_FILE_VERSION)
1623+
cmake_policy(POP)
1624+
return()
1625+
endif()
1626+
if(NOT _cmake_targets_defined STREQUAL "")
1627+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
1628+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
1629+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
1630+
endif()
1631+
unset(_cmake_targets_defined)
1632+
unset(_cmake_targets_not_defined)
1633+
unset(_cmake_expected_targets)
1634+
1635+
1636+
# Create imported target CURL::libcurl
1637+
add_library(CURL::libcurl SHARED IMPORTED)
1638+
1639+
set_target_properties(CURL::libcurl PROPERTIES
1640+
INTERFACE_INCLUDE_DIRECTORIES "/home/sam/Code/Distributed-Compute-Coin/dcc_client/out-linux/_deps/curl-src/include"
1641+
INTERFACE_LINK_LIBRARIES "dl;OpenSSL::SSL;OpenSSL::Crypto;ZLIB::ZLIB"
1642+
)
1643+
1644+
# Import target "CURL::libcurl" for configuration "Release"
1645+
set_property(TARGET CURL::libcurl APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
1646+
set_target_properties(CURL::libcurl PROPERTIES
1647+
IMPORTED_LOCATION_RELEASE "/home/sam/Code/Distributed-Compute-Coin/dcc_client/out-linux/_deps/curl-build/lib/libcurl.so"
1648+
IMPORTED_SONAME_RELEASE "libcurl.so"
1649+
)
1650+
1651+
# This file does not depend on other imported targets which have
1652+
# been exported from the same project but in a separate export set.
1653+
1654+
# Commands beyond this point should not need to know the version.
1655+
set(CMAKE_IMPORT_FILE_VERSION)
1656+
cmake_policy(POP)
1657+
# Generated by CMake
1658+
1659+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
1660+
message(FATAL_ERROR "CMake >= 2.8.0 required")
1661+
endif()
1662+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
1663+
message(FATAL_ERROR "CMake >= 2.8.3 required")
1664+
endif()
1665+
cmake_policy(PUSH)
1666+
cmake_policy(VERSION 2.8.3...3.23)
1667+
#----------------------------------------------------------------
1668+
# Generated CMake target import file.
1669+
#----------------------------------------------------------------
1670+
1671+
# Commands may need to know the format version.
1672+
set(CMAKE_IMPORT_FILE_VERSION 1)
1673+
1674+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
1675+
set(_cmake_targets_defined "")
1676+
set(_cmake_targets_not_defined "")
1677+
set(_cmake_expected_targets "")
1678+
foreach(_cmake_expected_target IN ITEMS CURL::libcurl)
1679+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
1680+
if(TARGET "${_cmake_expected_target}")
1681+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
1682+
else()
1683+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
1684+
endif()
1685+
endforeach()
1686+
unset(_cmake_expected_target)
1687+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
1688+
unset(_cmake_targets_defined)
1689+
unset(_cmake_targets_not_defined)
1690+
unset(_cmake_expected_targets)
1691+
unset(CMAKE_IMPORT_FILE_VERSION)
1692+
cmake_policy(POP)
1693+
return()
1694+
endif()
1695+
if(NOT _cmake_targets_defined STREQUAL "")
1696+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
1697+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
1698+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
1699+
endif()
1700+
unset(_cmake_targets_defined)
1701+
unset(_cmake_targets_not_defined)
1702+
unset(_cmake_expected_targets)
1703+
1704+
14981705
# Create imported target CURL::libcurl
14991706
add_library(CURL::libcurl SHARED IMPORTED)
15001707

Binary file not shown.
152 Bytes
Binary file not shown.

tags

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68563,7 +68563,7 @@ s:l dcc_client/dcc_client/Session.vim /^let s:l = 344 - ((28 * winheight(0) + 28
6856368563
s:l dcc_client/dcc_client/Session.vim /^let s:l = 352 - ((27 * winheight(0) + 28) \/ 56)$/;" v
6856468564
s:l dcc_client/dcc_client/Session.vim /^let s:l = 37 - ((36 * winheight(0) + 28) \/ 56)$/;" v
6856568565
s:l dcc_client/dcc_client/Session.vim /^let s:l = 56 - ((55 * winheight(0) + 28) \/ 56)$/;" v
68566-
s:l dcc_client/dcc_client/Session.vim /^let s:l = 794 - ((45 * winheight(0) + 28) \/ 56)$/;" v
68566+
s:l dcc_client/dcc_client/Session.vim /^let s:l = 630 - ((44 * winheight(0) + 28) \/ 56)$/;" v
6856768567
s:l dcc_client/dcc_client/Session.vim /^let s:l = 94 - ((41 * winheight(0) + 28) \/ 56)$/;" v
6856868568
s:shortmess_save dcc_client/dcc_client/Session.vim /^let s:shortmess_save = &shortmess$/;" v
6856968569
s:so_save dcc_client/dcc_client/Session.vim /^let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1$/;" v

0 commit comments

Comments
 (0)