aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-03-23 22:32:47 -0800
committerDavid M. Syzdek <david@syzdek.net>2022-03-23 22:32:47 -0800
commit3f8c18ca9ce4bd9c8a1e18637abaf8c99383b830 (patch)
treed65e14b3b471f02dac7aff4609204a266db420e9 /lib
parentb06d5419d64158efd09bd11e56ba0eae53e222bb (diff)
downloadtinyrad-3f8c18ca9ce4bd9c8a1e18637abaf8c99383b830.tar.gz
tinyrad-3f8c18ca9ce4bd9c8a1e18637abaf8c99383b830.tar.bz2
tinyrad-3f8c18ca9ce4bd9c8a1e18637abaf8c99383b830.tar.xz
tinyrad-3f8c18ca9ce4bd9c8a1e18637abaf8c99383b830.zip
libtinyrad: updating debug statement in tinyrad_urldesc_resolve()
Diffstat (limited to 'lib')
-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;