diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/transport_api_cmd_connecting_peers.c | 6 | ||||
-rw-r--r-- | src/transport/transport_api_cmd_send_simple.c | 4 | ||||
-rw-r--r-- | src/transport/transport_api_cmd_start_peer.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/transport_api_cmd_connecting_peers.c b/src/transport/transport_api_cmd_connecting_peers.c index f4b2e935f..3148806c7 100644 --- a/src/transport/transport_api_cmd_connecting_peers.c +++ b/src/transport/transport_api_cmd_connecting_peers.c | |||
@@ -53,13 +53,13 @@ connect_peers_run (void *cls, | |||
53 | { | 53 | { |
54 | struct ConnectPeersState *cps = cls; | 54 | struct ConnectPeersState *cps = cls; |
55 | const struct GNUNET_TESTING_Command *peer1_cmd; | 55 | const struct GNUNET_TESTING_Command *peer1_cmd; |
56 | const struct GNUNET_TESTING_Command *peer2_cmd; | 56 | //const struct GNUNET_TESTING_Command *peer2_cmd; |
57 | struct GNUNET_TRANSPORT_ApplicationHandle *ah; | 57 | struct GNUNET_TRANSPORT_ApplicationHandle *ah; |
58 | struct GNUNET_PeerIdentity *peer = GNUNET_new (struct GNUNET_PeerIdentity); | 58 | struct GNUNET_PeerIdentity *peer = GNUNET_new (struct GNUNET_PeerIdentity); |
59 | char *addr; | 59 | char *addr; |
60 | struct GNUNET_TIME_Absolute t; | 60 | //struct GNUNET_TIME_Absolute t; |
61 | char *hello; | 61 | char *hello; |
62 | size_t *hello_size; | 62 | //size_t *hello_size; |
63 | enum GNUNET_NetworkType nt = 0; | 63 | enum GNUNET_NetworkType nt = 0; |
64 | char *peer_id; | 64 | char *peer_id; |
65 | 65 | ||
diff --git a/src/transport/transport_api_cmd_send_simple.c b/src/transport/transport_api_cmd_send_simple.c index 6e7b89497..8d652563f 100644 --- a/src/transport/transport_api_cmd_send_simple.c +++ b/src/transport/transport_api_cmd_send_simple.c | |||
@@ -72,9 +72,9 @@ send_simple_run (void *cls, | |||
72 | struct GNUNET_TRANSPORT_TESTING_TestMessage *test; | 72 | struct GNUNET_TRANSPORT_TESTING_TestMessage *test; |
73 | struct GNUNET_MQ_Handle *mq; | 73 | struct GNUNET_MQ_Handle *mq; |
74 | struct GNUNET_CONTAINER_MultiShortmap *connected_peers_map; | 74 | struct GNUNET_CONTAINER_MultiShortmap *connected_peers_map; |
75 | struct GNUNET_PeerIdentity *id; | 75 | //struct GNUNET_PeerIdentity *id; |
76 | const struct GNUNET_TESTING_Command *peer1_cmd; | 76 | const struct GNUNET_TESTING_Command *peer1_cmd; |
77 | const struct GNUNET_TESTING_Command *peer2_cmd; | 77 | //const struct GNUNET_TESTING_Command *peer2_cmd; |
78 | struct GNUNET_ShortHashCode *key = GNUNET_new (struct GNUNET_ShortHashCode); | 78 | struct GNUNET_ShortHashCode *key = GNUNET_new (struct GNUNET_ShortHashCode); |
79 | struct GNUNET_HashCode hc; | 79 | struct GNUNET_HashCode hc; |
80 | int node_number; | 80 | int node_number; |
diff --git a/src/transport/transport_api_cmd_start_peer.c b/src/transport/transport_api_cmd_start_peer.c index b2b26194a..8696a99dc 100644 --- a/src/transport/transport_api_cmd_start_peer.c +++ b/src/transport/transport_api_cmd_start_peer.c | |||
@@ -196,7 +196,7 @@ notify_connect (void *cls, | |||
196 | struct GNUNET_HashCode hc; | 196 | struct GNUNET_HashCode hc; |
197 | int node_number; | 197 | int node_number; |
198 | 198 | ||
199 | void *ret; | 199 | void *ret = NULL; |
200 | 200 | ||
201 | 201 | ||
202 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 202 | LOG (GNUNET_ERROR_TYPE_DEBUG, |