aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-26 16:33:11 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-26 16:33:11 +0100
commit5fba4e47d041a17d45b6cb3bb6eaabc628370fe8 (patch)
treebbbc0052dce23dbedd2b7318d74078d6c61ce0d8
parentMinor cleanup. (diff)
downloadcalp-5fba4e47d041a17d45b6cb3bb6eaabc628370fe8.tar.gz
calp-5fba4e47d041a17d45b6cb3bb6eaabc628370fe8.tar.xz
Fix graph output.
-rw-r--r--graphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphs.c b/graphs.c
index 10d9cf98..4d1496cc 100644
--- a/graphs.c
+++ b/graphs.c
@@ -125,7 +125,7 @@ int trie_to_dot_helper ( TRIE_NODE(T)* root, FILE* f ) {
fprintf(f, "\"%p\" [label=\"%s\" color=blue];\n",
key, key->mem);
- fprintf(f, "\"%p\" -> \"%p\";", p, key);
+ fprintf(f, "\"%p\" -> \"%p\";", v, key);
FOR(LLIST, strbuf, str, p) {
fprintf(f, "\"%p\" [label=\"%s\" color=orange];",