projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
66a0ee1
)
- fix
author
Bart Polot
<bart@net.in.tum.de>
Tue, 5 Jun 2012 18:37:04 +0000
(18:37 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 5 Jun 2012 18:37:04 +0000
(18:37 +0000)
src/mesh/gnunet-service-mesh_new.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_new.c
b/src/mesh/gnunet-service-mesh_new.c
index 7ff9f5e99752fefe701f801c87f586b5356238a6..0d783977663609a97caaa86f17bbef2edfd59b68 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_new.c
+++ b/
src/mesh/gnunet-service-mesh_new.c
@@
-4666,7
+4666,7
@@
core_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
if (q->peer == pi)
{
/* try to reroute this traffic instead */
if (q->peer == pi)
{
/* try to reroute this traffic instead */
- queue_destroy(q
ueue_head
, GNUNET_YES);
+ queue_destroy(q, GNUNET_YES);
}
q = n;
}
}
q = n;
}
@@
-4723,7
+4723,7
@@
shutdown_peer (void *cls, const GNUNET_HashCode * key, void *value)
n = q->next;
if (q->peer == p)
{
n = q->next;
if (q->peer == p)
{
- queue_destroy(q
ueue_head
, GNUNET_YES);
+ queue_destroy(q, GNUNET_YES);
}
q = n;
}
}
q = n;
}
@@
-4827,12
+4827,12
@@
run (void *cls, struct GNUNET_SERVER_Handle *server,
&my_full_id.hashPubKey);
myid = GNUNET_PEER_intern (&my_full_id);
&my_full_id.hashPubKey);
myid = GNUNET_PEER_intern (&my_full_id);
-//
//
transport_handle = GNUNET_TRANSPORT_connect(c,
-//
//
&my_full_id,
-//
//
NULL,
-//
//
NULL,
-//
//
NULL,
-//
//
NULL);
+// transport_handle = GNUNET_TRANSPORT_connect(c,
+// &my_full_id,
+// NULL,
+// NULL,
+// NULL,
+// NULL);
dht_handle = GNUNET_DHT_connect (c, 64);
if (dht_handle == NULL)
dht_handle = GNUNET_DHT_connect (c, 64);
if (dht_handle == NULL)