From 48afbdecb329882e59b5b4edd796aa5a47c564c7 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 25 Jun 2015 08:48:41 +0000 Subject: [PATCH] adding a first set of fixmes to stun code --- src/nat/test_stun.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nat/test_stun.c b/src/nat/test_stun.c index c45714f4d..fdf619255 100644 --- a/src/nat/test_stun.c +++ b/src/nat/test_stun.c @@ -104,6 +104,8 @@ do_udp_read (void *cls, } + + } @@ -167,10 +169,12 @@ run (void *cls, char *const *args, const char *cfgfile, //Lets call our function now when it accepts ltask4 = GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_UNIT_FOREVER_REL, lsock4, &do_udp_read, NULL); + /* So you read once and what will happen if you get an irregular message? Repeat and add timeout */ } if(NULL == lsock4 ) { + /* FIXME: duplicate check */ GNUNET_SCHEDULER_shutdown (); return; } @@ -205,4 +209,5 @@ main (int argc, char *const argv[]) return ret; } +/* FIXME: wrong file name */ /* end of test_nat.c */ -- 2.25.1