aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--lib/libtinyrad/lurl.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libtinyrad/lurl.c b/lib/libtinyrad/lurl.c
index 139762a..b0f0db9 100644
--- a/lib/libtinyrad/lurl.c
+++ b/lib/libtinyrad/lurl.c
@@ -553,10 +553,6 @@ tinyrad_urldesc_resolve(
553 assert(trudp->trud_host != NULL); 553 assert(trudp->trud_host != NULL);
554 554
555 TinyRadDebug(TRAD_DEBUG_ARGS, " == %s(trudp)", __func__); 555 TinyRadDebug(TRAD_DEBUG_ARGS, " == %s(trudp)", __func__);
556 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_host: %s", trudp->trud_host);
557 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_port: %i", trudp->trud_port);
558 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_secret: %s", (((trudp->trud_secret)) ? trudp->trud_secret : "n/a"));
559 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_opts: 0x%04x", trudp->trud_opts);
560 556
561 // clear existing sockaddrs 557 // clear existing sockaddrs
562 for(trudp_ptr = trudp; ((trudp_ptr)); trudp_ptr = trudp_ptr->trud_next) 558 for(trudp_ptr = trudp; ((trudp_ptr)); trudp_ptr = trudp_ptr->trud_next)
@@ -595,6 +591,12 @@ tinyrad_urldesc_resolve(
595 591
596 while ((trudp)) 592 while ((trudp))
597 { 593 {
594 TinyRadDebug(TRAD_DEBUG_ARGS, " => %s members", "trudp");
595 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_host: %s", trudp->trud_host);
596 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_port: %i", trudp->trud_port);
597 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_secret: %s", (((trudp->trud_secret)) ? trudp->trud_secret : "n/a"));
598 TinyRadDebug(TRAD_DEBUG_ARGS, " => trudp->trud_opts: 0x%04x", trudp->trud_opts);
599
598 memset(&hints, 0, sizeof(struct addrinfo)); 600 memset(&hints, 0, sizeof(struct addrinfo));
599 hints.ai_flags = ai_flags; 601 hints.ai_flags = ai_flags;
600 hints.ai_family = ai_family; 602 hints.ai_family = ai_family;