From 6a0628af7b9c10aa58fc728304af884df6a5163f Mon Sep 17 00:00:00 2001 From: Gabe Koss Date: Wed, 22 Nov 2023 08:58:05 -0500 Subject: [PATCH] Update documentation links printed in warning output (#478) Co-authored-by: Gabe Koss --- lcm/lcm_mpudpm.c | 4 ++-- lcm/lcm_udpm.c | 4 ++-- lcm/udpm_util.c | 2 +- lcmgen/emit_go.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lcm/lcm_mpudpm.c b/lcm/lcm_mpudpm.c index c6f239f49..3dc15c7d7 100644 --- a/lcm/lcm_mpudpm.c +++ b/lcm/lcm_mpudpm.c @@ -449,7 +449,7 @@ static int recv_message_fragment(lcm_mpudpm_t *lcm, lcm_buf_t *lcmb, uint32_t sz "insufficient buffer space is very high.\n" "\n" "For more information, visit:\n" - " http://lcm-proj.github.io/lcm/multicast_setup.html\n\n"); + " https://lcm-proj.github.io/lcm/content/multicast-setup.html\n\n"); lcm->warned_about_small_kernel_buf = 1; } #endif @@ -1454,7 +1454,7 @@ static mpudpm_socket_t *add_recv_socket(lcm_mpudpm_t *lcm, uint16_t port) "LCM UDP receive buffer size (%d) \n" " is smaller than reqested (%d). " "For more info:\n" - " http://lcm-proj.github.io/lcm/multicast_setup.html\n", + " https://lcm-proj.github.io/lcm/content/multicast-setup.html\n", lcm->kernel_rbuf_sz, lcm->params.recv_buf_size); } } diff --git a/lcm/lcm_udpm.c b/lcm/lcm_udpm.c index d91118b9c..7ac6cf033 100644 --- a/lcm/lcm_udpm.c +++ b/lcm/lcm_udpm.c @@ -297,7 +297,7 @@ static int _recv_message_fragment(lcm_udpm_t *lcm, lcm_buf_t *lcmb, uint32_t sz) "insufficient buffer space is very high.\n" "\n" "For more information, visit:\n" - " http://lcm-proj.github.io/lcm/multicast_setup.html\n\n"); + " https://lcm-proj.github.io/lcm/content/multicast-setup.html\n\n"); lcm->warned_about_small_kernel_buf = 1; } #endif @@ -969,7 +969,7 @@ static int _setup_recv_parts(lcm_udpm_t *lcm) "LCM UDP receive buffer size (%d) \n" " is smaller than reqested (%d). " "For more info:\n" - " http://lcm-proj.github.io/lcm/multicast_setup.html\n", + " https://lcm-proj.github.io/lcm/content/multicast-setup.html\n", lcm->kernel_rbuf_sz, lcm->params.recv_buf_size); } } diff --git a/lcm/udpm_util.c b/lcm/udpm_util.c index c8a883563..2eec20fab 100644 --- a/lcm/udpm_util.c +++ b/lcm/udpm_util.c @@ -308,7 +308,7 @@ void linux_check_routing_table(struct in_addr lcm_mcaddr) " sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev lo\n" "\n" "For more information, visit:\n" - " http://lcm-proj.github.io/lcm/multicast_setup.html\n\n", + " https://lcm-proj.github.io/lcm/content/multicast-setup.html\n\n", inet_ntoa(lcm_mcaddr)); } #endif diff --git a/lcmgen/emit_go.c b/lcmgen/emit_go.c index 6cd0890d0..c22717695 100644 --- a/lcmgen/emit_go.c +++ b/lcmgen/emit_go.c @@ -212,7 +212,7 @@ lcm_struct_t *lcm_find_struct(lcmgen_t *lcm, lcm_member_t *lm) * Calculates the fingerprint during code generation. * * Algorithm as described in: - * https://lcm-proj.github.io/lcm/type_specification.html + * https://lcm-proj.github.io/lcm/content/lcm-type-ref.html#fingerprint-computation * * Returns calculated fingerprint or 0 on error */ @@ -1181,7 +1181,7 @@ static void emit_go_lcm_unmarshal_binary(FILE *f, lcmgen_t *lcm, lcm_struct_t *l * Emits code to calculate the fingerprint in runtime. * * Algorithm as described in: - * https://lcm-proj.github.io/lcm/type_specification.html + * https://lcm-proj.github.io/lcm/content/lcm-type-ref.html#fingerprint-computation */ static void emit_go_lcm_fingerprint(FILE *f, lcmgen_t *lcm, lcm_struct_t *ls, const char *const typename, const char *const gotype,