diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-03 14:23:55 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-03 14:23:55 +0000 |
commit | e6360ebfcf61eaa143fe24004f5939ba133f4c2f (patch) | |
tree | 1557d88c9f01a79774098d2e3a3a89a49ffe92cc /src/dv/dv_api.c | |
parent | ac4d73e842785498e0e0a6fc53834e071a8a02d0 (diff) |
- fixing crash during shutdown
- adding network functionality
Diffstat (limited to 'src/dv/dv_api.c')
-rw-r--r-- | src/dv/dv_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dv/dv_api.c b/src/dv/dv_api.c index 412ab47ada..2c2953de24 100644 --- a/src/dv/dv_api.c +++ b/src/dv/dv_api.c @@ -324,7 +324,7 @@ handle_message_receipt (void *cls, cm = (const struct GNUNET_DV_ConnectMessage *) msg; sh->connect_cb (sh->cls, &cm->peer, - ntohl (cm->distance)); + ntohl (cm->distance), ntohl (cm->network)); break; case GNUNET_MESSAGE_TYPE_DV_DISTANCE_CHANGED: if (ntohs (msg->size) != sizeof (struct GNUNET_DV_DistanceUpdateMessage)) |