diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-31 14:47:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-31 14:47:15 +0000 |
commit | 3d7b826cf93531caf6ef73a21b8a589b00c6d240 (patch) | |
tree | 1a9b2b96d12d3132c99a44d4c24cfc6f3f9e024f /src/vpn/gnunet-daemon-vpn.c | |
parent | 4363f29c8588ea7d5140029ec6399a97f9bb49de (diff) | |
download | gnunet-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.c | 4 |
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 | ||