aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-02-20 23:42:43 -0500
committerDeterminant <[email protected]>2020-02-20 23:42:43 -0500
commit7b06b11c20d70f61e3a0a17c7e7a2fdcef0a8757 (patch)
tree9984b070fe1846ab4f66ff0bfbe0abdb37bf8252 /src
parentb2f103a18b9bdfe601f72730e0efed2a4c36f773 (diff)
...
Diffstat (limited to 'src')
-rw-r--r--src/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network.cpp b/src/network.cpp
index 4182a41..0edc407 100644
--- a/src/network.cpp
+++ b/src/network.cpp
@@ -187,7 +187,7 @@ peerid_t *peerid_new_from_x509(const x509_t *cert) {
}
peerid_array_t *peerid_array_new() { return new peerid_array_t(); }
-peerid_array_t *peerid_array_new_from_peerids(const peerid_t * const *peers, size_t npeers) {
+peerid_array_t *peerid_array_new_from_peers(const peerid_t * const *peers, size_t npeers) {
auto res = new peerid_array_t();
res->resize(npeers);
for (size_t i = 0; i < npeers; i++)
@@ -235,7 +235,7 @@ int32_t peernetwork_del_peer(peernetwork_t *self, const peerid_t *peer) {
return self->del_peer(*peer);
}
-int32_t peernetwork_conn_peer(peernetwork_t *self, const peerid_t *peer, ssize_t ntry, double retry_delay) {
+int32_t peernetwork_conn_peer(peernetwork_t *self, const peerid_t *peer, int32_t ntry, double retry_delay) {
return self->conn_peer(*peer, ntry, retry_delay);
}