- Commit
- 46b67b710788be7924b5a412ab68eea3cac0cd96
- Parent
- cdcd29f27a25334817026afaf4501bb146d66f10
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
man: use a variable to store the char * from node_get_url.
We get segfaults on some platforms when we do
cmark_strbuf_printf(man, " (%s)", cmark_node_get_url(node));
but they go away with:
url = cmark_node_get_url(node);
cmark_strbuf_printf(man, " (%s)", url);
I don't understand why.
Closes #253.