diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-30 07:59:53 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-30 07:59:53 -0800 |
commit | 46b67b710788be7924b5a412ab68eea3cac0cd96 (patch) | |
tree | f138edcd3c9895e4cdf7b2be31f950f5d6b49229 /src/references.h | |
parent | cdcd29f27a25334817026afaf4501bb146d66f10 (diff) |
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.
Diffstat (limited to 'src/references.h')
0 files changed, 0 insertions, 0 deletions