summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2017-10-09 16:10:11 -0500
committerDavid Barksdale <amatus@amat.us>2017-10-09 16:10:11 -0500
commit704722e37ac066bf1f304c93ecf198cbf7fd26be (patch)
tree3bd88f83df43627b027debdd4b598b2f2e82dcf2 /src/transport/transport-testing.c
parentc4e393c4a87b7b7386970e35615686fa2332450a (diff)
Fix overflow in transport-testing
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index 2aa6cdbb0..918d70a9d 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -384,7 +384,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_Handle *tth
{
char *emsg = NULL;
struct GNUNET_TRANSPORT_TESTING_PeerContext *p;
- struct GNUNET_PeerIdentity *dummy;
+ struct GNUNET_PeerIdentity dummy;
unsigned int i;
if (GNUNET_NO == GNUNET_DISK_file_test (cfgname))