aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-daemon-vpn.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-31 14:47:15 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-31 14:47:15 +0000
commit3d7b826cf93531caf6ef73a21b8a589b00c6d240 (patch)
tree1a9b2b96d12d3132c99a44d4c24cfc6f3f9e024f /src/vpn/gnunet-daemon-vpn.c
parent4363f29c8588ea7d5140029ec6399a97f9bb49de (diff)
downloadgnunet-3d7b826cf93531caf6ef73a21b8a589b00c6d240.tar.gz
gnunet-3d7b826cf93531caf6ef73a21b8a589b00c6d240.zip
more DLL usage errors
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn.c')
-rw-r--r--src/vpn/gnunet-daemon-vpn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c
index d802fa338..d87edfbc4 100644
--- a/src/vpn/gnunet-daemon-vpn.c
+++ b/src/vpn/gnunet-daemon-vpn.c
@@ -364,14 +364,12 @@ send_pkt_to_peer (void *cls, const struct GNUNET_PeerIdentity *peer,
364 } 364 }
365 else 365 else
366 { 366 {
367 struct tunnel_notify_queue *head = ts->head;
368 struct tunnel_notify_queue *tail = ts->tail;
369 struct tunnel_notify_queue *element = GNUNET_malloc (sizeof *element); 367 struct tunnel_notify_queue *element = GNUNET_malloc (sizeof *element);
370 368
371 element->cls = cls; 369 element->cls = cls;
372 element->len = ntohs (hdr->size); 370 element->len = ntohs (hdr->size);
373 371
374 GNUNET_CONTAINER_DLL_insert_tail (head, tail, element); 372 GNUNET_CONTAINER_DLL_insert_tail (ts->head, ts->tail, element);
375 } 373 }
376} 374}
377 375