Skip to content

Commit

Permalink
Update documentation links printed in warning output (#478)
Browse files Browse the repository at this point in the history
Co-authored-by: Gabe Koss <gkoss@greensea.com>
  • Loading branch information
granolocks and granolocks authored Nov 22, 2023
1 parent d7e0273 commit 6a0628a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lcm/lcm_mpudpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}
}
Expand Down
4 changes: 2 additions & 2 deletions lcm/lcm_udpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion lcm/udpm_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions lcmgen/emit_go.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 6a0628a

Please sign in to comment.